projects
/
websub-hub
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1b8e550a0e61cd1803a39a63ce1c6e47e858699c
[websub-hub]
/
subscription-delivery-failure.sql
1
--
2
UPDATE
subscription
SET
3
delivery_attempts_since_success
=
delivery_attempts_since_success
+
1
,
4
delivery_next_attempt
=
now
() + (
$
(
nextAttemptDelaySeconds
) *
INTERVAL
'1 second'
)
5
WHERE
6
topic_id
=
$
(
topicId
)
AND
callback
=
$
(
callback
)