We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e1b5d commit 7eda680Copy full SHA for 7eda680
src/snapshot.rs
@@ -105,7 +105,9 @@ impl<L: Deref + Clone> Snapshotter<L> where L::Target: Logger {
105
symlink(&relative_dummy_snapshot_path, &dummy_symlink_path).unwrap();
106
}
107
108
- for i in 0..10_001u64 {
+ // Number of intervals since Jan 1, 2022, a few months before RGS server was released.
109
+ let symlink_count = (reference_timestamp - 1640995200) / config::SNAPSHOT_CALCULATION_INTERVAL as u64;
110
+ for i in 0..symlink_count {
111
// let's create non-dummy-symlinks
112
113
// first, determine which snapshot range should be referenced
0 commit comments