diff options
| author | tv <tv@krebsco.de> | 2026-10-26 05:38:41 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 05:38:41 +0100 |
| commit | 771665daeb95f7f136545f8768c31003a82823d6 (patch) | |
| tree | de3dfa27601f06a7155164ef7feefd7c4a0720f2 /src/state/mod.rs | |
| parent | e69f05d182718621e97f0662de5f05105658d96e (diff) | |
wrap unix timestamps in newtype
Diffstat (limited to 'src/state/mod.rs')
| -rw-r--r-- | src/state/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs index f93bbef..438ad52 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -385,7 +385,7 @@ impl AppState { // how long the change took to reach them (`swarm::stats`). replica.doc.commit_with( automerge::transaction::CommitOptions::default() - .with_time(state.clock.now_millis() as i64), + .with_time(state.clock.now_millis().as_u64() as i64), ); } // Discard partial ops (e.g. old value deleted, new one not written). |
