projects
/
websub-hub
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bump package version to 1.3.12
[websub-hub]
/
src
/
db
/
postgres
/
sql
/
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
)