We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c72974 commit 0925946Copy full SHA for 0925946
executors/src/webhook/mod.rs
@@ -436,7 +436,7 @@ pub fn queue_webhook_envelopes<T: Serialize + Clone>(
436
tx: &mut TransactionContext<'_>,
437
webhook_queue: Arc<Queue<WebhookJobHandler>>,
438
) -> Result<(), TwmqError> {
439
- let now = chrono::Utc::now().timestamp().min(0) as u64;
+ let now = chrono::Utc::now().timestamp().max(0) as u64;
440
let serialised_webhook_envelopes =
441
webhook_options
442
.iter()
0 commit comments