]> git.scottworley.com Git - tattlekey/blobdiff - client/config.c
client: New epoch if seq wraps
[tattlekey] / client / config.c
index d3006c786b97712383e5a08d6bca5b0caf91ad14..a708df4aed9095b91f7333c69a612a73ed6af681 100644 (file)
@@ -39,13 +39,8 @@ const u32_t config_minimum_seconds_between_button_presses = 1;
  *   etc.
  * This provides some robustness against network outages, automatically
  * replaying the log periodically to be collected after connectivity
- * is restored.
- *
- * Values above 17 are currently not recommended because the current
- * wire format uses a 16-bit field for a duration in seconds, which wraps
- * at 18 hours.
- *   */
-const uint config_resend_count = 5;
+ * is restored. */
+const uint config_resend_count = 16;
 
 /* These control the size of the per-send-count press queues.
 When the button is pressed more than config_maximum_queue_size times