projects
/
websub-hub
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
51ac2dd9ca745d641124845b59127fa4e8d985cc
[websub-hub]
/
topic-attempts-increment.sql
1
--
2
UPDATE
topic
SET
3
content_fetch_attempts_since_success
=
content_fetch_attempts_since_success
+
1
,
4
content_fetch_next_attempt
=
now
() + (
$
(
nextAttemptDelaySeconds
) *
INTERVAL
'1 second'
)
5
WHERE
6
id
=
$
(
topicId
)