File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ pub type DownloadsSample {
9999 DownloadsSample ( time : calendar . Date , count : Int )
100100}
101101
102- fn gleam_package_epoch ( ) -> Timestamp {
102+ /// A point in time before which there were no Gleam packages.
103+ pub fn gleam_package_epoch ( ) -> Timestamp {
103104 timestamp . from_unix_seconds ( 1_635_092_380 )
104105}
105106
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub fn sync_new_gleam_releases(
5353 let # ( limit , mode ) = case timestamp . compare ( now , next_full_sync_deadline ) {
5454 order . Gt | order . Eq -> {
5555 wisp . log_info ( "Performing full Hex sync, getting all data" )
56- # ( latest_full , FullSync )
56+ # ( storage . gleam_package_epoch ( ) , FullSync )
5757 }
5858 order . Lt -> {
5959 wisp . log_info ( "Performing partial Hex sync, getting newly published data" )
You can’t perform that action at this time.
0 commit comments