Skip to content

Commit f7d8fb7

Browse files
committed
sync: update docs
1 parent 6d0c7f2 commit f7d8fb7

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

cmd/span-crossref-sync/main.go

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
//
44
// Example usage:
55
//
6-
// $ span-crossref-sync \
7-
// -p zstd \ # compress program
8-
// -P feed-1- \ # file prefix (to separate different runs)
9-
// -i d \ # interval (daily)
10-
// -verbose \ # verbose
11-
// -t 30m \ # timeout
12-
// -s 2022-01-01 \ # start
13-
// -e 2023-05-01 \ # end (default: yesterday)
14-
// -c /data/finc/crossref/ # cache dir
6+
// $ span-crossref-sync \
7+
// -p zstd \ # compress program
8+
// -P feed-1- \ # file prefix (to separate different runs)
9+
// -i d \ # interval (daily)
10+
// -verbose \ # verbose
11+
// -t 30m \ # timeout
12+
// -s 2022-01-01 \ # start
13+
// -e 2023-05-01 \ # end (leave out for default: yesterday)
14+
// -c /data/finc/crossref/ # cache dir
1515
//
1616
// Space requirements: One day yields about 1M update docs, or a ~2GB
1717
// compressed file. A year equates to about 800G of compressed data.
@@ -21,6 +21,8 @@
2121
// snapshot.
2222
//
2323
// Data point: https://github.com/miku/filterline#data-point-crossref-snapshot
24+
//
25+
// As of 02/2024 we have 768 files (for "feed-1-") using 2.1TB (zstd, est. 12TB uncompressed).
2426
package main
2527

2628
import (

0 commit comments

Comments
 (0)