OLD | NEW |
1 package util | 1 package util |
2 | 2 |
3 import "path/filepath" | 3 import "path/filepath" |
4 | 4 |
5 const ( | 5 const ( |
6 // TODO(rmistry): Switch this to use chrome-bot when ready to run in pro
d | 6 // TODO(rmistry): Switch this to use chrome-bot when ready to run in pro
d |
7 CT_USER = "rmistry" | 7 CT_USER = "rmistry" |
8 NUM_WORKERS int = 100 | 8 NUM_WORKERS int = 100 |
9 » WORKER_NAME_TEMPLATE = "build%s-m5" | 9 » WORKER_NAME_TEMPLATE = "build%d-m5" |
10 GS_BUCKET_NAME = "cluster-telemetry" | 10 GS_BUCKET_NAME = "cluster-telemetry" |
11 | 11 |
12 // File names and dir names. | 12 // File names and dir names. |
13 TIMESTAMP_FILE_NAME = "TIMESTAMP" | 13 TIMESTAMP_FILE_NAME = "TIMESTAMP" |
14 PAGESETS_DIR_NAME = "page_sets" | 14 PAGESETS_DIR_NAME = "page_sets" |
15 WEB_ARCHIVES_DIR_NAME = "webpage_archives" | 15 WEB_ARCHIVES_DIR_NAME = "webpage_archives" |
16 SKPS_DIR_NAME = "skp" | 16 SKPS_DIR_NAME = "skp" |
17 | 17 |
18 // Limit the number of times CT tries to get a remote file before giving
up. | 18 // Limit the number of times CT tries to get a remote file before giving
up. |
19 MAX_URI_GET_TRIES = 4 | 19 MAX_URI_GET_TRIES = 4 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 PAGESET_TYPE_MOBILE_10k: &PagesetTypeInfo{ | 67 PAGESET_TYPE_MOBILE_10k: &PagesetTypeInfo{ |
68 NumPages: 10000, | 68 NumPages: 10000, |
69 CSVSource: "csv/android-top-1m.csv", | 69 CSVSource: "csv/android-top-1m.csv", |
70 UserAgent: "mobile"}, | 70 UserAgent: "mobile"}, |
71 PAGESET_TYPE_DUMMY_10k: &PagesetTypeInfo{ | 71 PAGESET_TYPE_DUMMY_10k: &PagesetTypeInfo{ |
72 NumPages: 10000, | 72 NumPages: 10000, |
73 CSVSource: "csv/android-top-1m.csv", | 73 CSVSource: "csv/android-top-1m.csv", |
74 UserAgent: "mobile"}, | 74 UserAgent: "mobile"}, |
75 } | 75 } |
76 ) | 76 ) |
OLD | NEW |