From: Eric Bollengier Date: Mon, 9 May 2022 16:19:30 +0000 (+0200) Subject: Allow small volume poll interval in DEVELOPPER's mode X-Git-Tag: Beta-15.0.0~585 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0342035820e5d27b082d0cfcf93016a17ae65b3b;p=thirdparty%2Fbacula.git Allow small volume poll interval in DEVELOPPER's mode --- diff --git a/bacula/src/stored/init_dev.c b/bacula/src/stored/init_dev.c index 6273d4d6a..a0dd15909 100644 --- a/bacula/src/stored/init_dev.c +++ b/bacula/src/stored/init_dev.c @@ -319,10 +319,13 @@ void DEVICE::device_generic_init(JCR *jcr, DEVRES *device) } else { dev->max_part_size = device->max_part_size; } + +#ifndef DEVELOPER /* Sanity check */ if (dev->vol_poll_interval && dev->vol_poll_interval < 60) { dev->vol_poll_interval = 60; } +#endif if (!device->dev) { /* The first time we create a DEVICE from the DEVRES, we keep a pointer