Mercurial > code > home > repos > gcalendarwatch
comparison calsync/main.go @ 86:c2578b4a8d9d
calsync look 6mo ahead
author | drewp@bigasterisk.com |
---|---|
date | Sat, 07 Sep 2024 16:15:05 -0700 |
parents | 0f0b15d8062c |
children |
comparison
equal
deleted
inserted
replaced
85:f75b3a109b66 | 86:c2578b4a8d9d |
---|---|
54 if err != nil { | 54 if err != nil { |
55 log.Fatal(err) | 55 log.Fatal(err) |
56 } | 56 } |
57 | 57 |
58 initialSyncBack := (7 * 24) * time.Hour | 58 initialSyncBack := (7 * 24) * time.Hour |
59 initialSyncAhead := (14 * 24) * time.Hour | 59 initialSyncAhead := (120 * 24) * time.Hour |
60 err = updateMongoEventsToMatchGoogleForever(mc, gc, initialSyncBack, initialSyncAhead, notifications, startupJitter) | 60 err = updateMongoEventsToMatchGoogleForever(mc, gc, initialSyncBack, initialSyncAhead, notifications, startupJitter) |
61 if err != nil { | 61 if err != nil { |
62 log.Fatal(err) | 62 log.Fatal(err) |
63 } | 63 } |
64 | 64 |