Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion engine/packages/gasoline/src/db/kv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,6 @@ impl Database for DatabaseKv {
signal_name: &str,
body: &serde_json::value::RawValue,
) -> WorkflowResult<()> {
let started_at = Instant::now();
self.pools
.udb()
.map_err(WorkflowError::PoolsGeneric)?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const GC_INTERVAL: Duration = Duration::from_secs(30);
/// Failover dedup rows older than this are garbage collected. Must be well beyond the longest a
/// follower could spend resending a commit across a leader failover, so a dedup record is never
/// deleted while a resend that needs it could still arrive.
const DEDUP_ROW_MAX_AGE_SECS: i64 = 60;
const DEDUP_ROW_MAX_AGE_SECS: i64 = 120;

#[derive(Clone, Debug)]
pub struct PostgresConfig {
Expand Down
4 changes: 2 additions & 2 deletions engine/packages/util/src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ macro_rules! json_from_slice {
$crate::metrics::DESERIALIZE_SIZE
.with_label_values(&["json", $crate::location!().to_string().as_str()])
.observe(__bind.len() as f64);
$crate::observe!(serde_json::from_slice($value))
$crate::observe!(serde_json::from_slice(__bind))
}};
}
pub use json_from_slice;
Expand Down Expand Up @@ -101,7 +101,7 @@ macro_rules! bare_from_slice {
$crate::metrics::DESERIALIZE_SIZE
.with_label_values(&["bare", $crate::location!().to_string().as_str()])
.observe(__bind.len() as f64);
$crate::observe!(serde_bare::from_slice($value))
$crate::observe!(serde_bare::from_slice(__bind))
}};
}
pub use bare_from_slice;
279 changes: 279 additions & 0 deletions examples/kitchen-sink/scripts/seed-churn-dbs.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading