karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 106 forks source link

master-update-interval value #323

Open hmorneau opened 3 years ago

hmorneau commented 3 years ago

Hi,

I'm trying to lower the value of master-update-interval to 15 seconds or less. But it seems like the configuration have no impact, the update still take about 120 seconds (the default value) to happen on all the slaves.

Any idea why?

karlheyes commented 3 years ago

having a high frequency of polling might not be a great idea in general but I don't recall any limit that would prevent 15 seconds from being used. Can you give me some idea on what you are using (in xml, IPs/passwords are not important here) as there may be some order issue, and what you are seeing in the log to show the 120secs gap. Email or on here.

karl.

hmorneau commented 3 years ago

Well the settings are pretty plain.

`

HOSTNAME
<master-server-port>80</master-server-port>
<master-update-interval>15</master-update-interval>
<master-password>***</master-password>

`

That's the relevant section of the code.