Skip to content

Commit

Permalink
Increase checkpoint frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Apr 17, 2024
1 parent 4fde165 commit 67a2030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/y-sweet-worker/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const S3_BUCKET_NAME: &str = "S3_BUCKET_NAME";
// reset after less than 30 seconds of inactivity.
//
// Ref: https://ts.cloudflare.community/workers/runtime-apis/durable-objects/#in-memory-state
const DEFAULT_CHECKPOINT_FREQ_SECONDS: u64 = 29;
const DEFAULT_CHECKPOINT_FREQ_SECONDS: u64 = 9;

#[derive(Serialize, Deserialize)]
pub enum BucketKind {
Expand Down

0 comments on commit 67a2030

Please # to comment.