mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Removed config.php option for cat pooling
This commit is contained in:
@@ -727,26 +727,6 @@ $config['cron_allow_insecure'] = false;
|
||||
|
||||
$config['disable_version_check'] = false;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CAT Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This defines various CAT related settings. More information can be found
|
||||
| on the Wiki: https://github.com/wavelog/Wavelog/wiki/CAT
|
||||
|
|
||||
| cat_poll_interval Polling interval for CAT in milliseconds
|
||||
| Default is 3000ms (3 seconds)
|
||||
| This control how often the CAT status is
|
||||
| polled from the radio, in milliseconds.
|
||||
| Lower values increase the load on the server,
|
||||
| higher values make the CAT less responsive.
|
||||
| Good values are between 250ms and 5000ms.
|
||||
|
|
||||
|*/
|
||||
|
||||
$config['cat_poll_interval'] = 3000;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| trx-control Configuration
|
||||
|
||||
@@ -1398,7 +1398,7 @@ mymap.on('mousemove', onQsoMapMove);
|
||||
|
||||
// CAT Configuration Constants
|
||||
const CAT_CONFIG = {
|
||||
POLL_INTERVAL: <?php echo $this->config->item('cat_poll_interval') ?? 3000; ?>,
|
||||
POLL_INTERVAL: 3000, // Polling interval in milliseconds
|
||||
WEBSOCKET_RECONNECT_MAX: 5,
|
||||
WEBSOCKET_RECONNECT_DELAY_MS: 2000,
|
||||
AJAX_TIMEOUT_MS: 5000,
|
||||
|
||||
Reference in New Issue
Block a user