citusdata / citusdata/pg_cron

cron.max_running_jobs and reload config

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

Description

When I try to change cron.max_running_jobs (with cron.use_background_workers = 'on') to any value and reload config I get incorrect error in log:

received SIGHUP, reloading configuration files
7 is outside the valid range for parameter ""cron.max_running_jobs"" (0 .. -1)
configuration file ""/var/lib/pgsql/17/data/postgresql.conf"" contains errors; unaffected changes were applied

Restart work fine.

With cron.use_background_workers = 'off' and the same, I get correct error message:

parameter ""cron.max_running_jobs"" cannot be changed without restarting the server

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.