1 -- claim a specific topic needing the content fetched
2 INSERT INTO topic_fetch_in_progress (id, claimant
, claimed
, claim_expires
)
3 VALUES (:topicId, :claimant, strftime('%s', 'now'), strftime('%s', 'now') + :claimTimeoutSeconds)
4 ON CONFLICT (id) DO UPDATE
7 claimed
= strftime('%s', 'now'),
8 claim_expires
= strftime('%s', 'now') + :claimTimeoutSeconds