Removed config.php option for cat pooling

This commit is contained in:
Szymon Porwolik
2025-10-27 15:23:40 +01:00
parent 3be436cce7
commit 1b74602941
2 changed files with 1 additions and 21 deletions

View File

@@ -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

View File

@@ -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,