citusdata / citusdata/pg_cron

Is There any ReTry Option?

Open
#183 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.9k
Forks
260
Avg merge
5d 5h
Merged PRs (30d)
1

Description

i use pg_cron with pgsql-http extension and sometimes url not response so job has failed.
Is there any option to retry job after some timeout or repeat 3 times, something like that.

Example job_run_details row ;
`1
86
2157947
prometheusdb
sde
"
INSERT INTO sde.ispark_otoparklar
*
*
*
FROM http_get('https://***')
WHERE status=200
"
failed
ERROR: Resolving timed out after 1000 milliseconds

2022-04-14 07:00:00.062 +0300
2022-04-14 07:00:05.104 +0300`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.