Change connect_sync to 5s

This commit is contained in:
Dzming Li
2026-03-04 10:30:36 +08:00
parent 356b9a11a2
commit ed23b0034e
@@ -71,7 +71,7 @@ for source in sources:
print(f"\nProcessing calendar: {calendar_name}", file=sys.stderr)
try:
client = ECal.Client.connect_sync(source, ECal.ClientSourceType.EVENTS, 1, None)
client = ECal.Client.connect_sync(source, ECal.ClientSourceType.EVENTS, 5, None)
start_dt = datetime.fromtimestamp(start_time)
end_dt = datetime.fromtimestamp(end_time)