0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
posthog/rust/.sqlx/query-385e94f4adab0f85174968f6eee873bf6d1d43884cd628df5b36978dd761b025.json
Oliver Browne 615c435139
feat(cyclotron): Change dead-letter strategy, adopt in fetch and janitor (#24569)
Co-authored-by: Brett Hoerner <brett@posthog.com>
2024-08-27 10:52:16 +03:00

19 lines
551 B
JSON

{
"db_name": "PostgreSQL",
"query": "\nSELECT id FROM cyclotron_jobs WHERE state = 'running' AND COALESCE(last_heartbeat, $1) <= $1 AND janitor_touch_count >= $2\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": ["Timestamptz", "Int2"]
},
"nullable": [false]
},
"hash": "385e94f4adab0f85174968f6eee873bf6d1d43884cd628df5b36978dd761b025"
}