mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-18 02:43:42 +02:00
sectionsd: enable slow_addevent by default
Only very little people are apparently testing this code path, so make it opt-out instead of opt-in :-) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1446 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -245,7 +245,7 @@ unsigned int privatePid=0;
|
||||
#endif
|
||||
int sectionsd_stop = 0;
|
||||
|
||||
static bool slow_addevent = false;
|
||||
static bool slow_addevent = true;
|
||||
|
||||
inline void readLockServices(void)
|
||||
{
|
||||
@@ -8711,10 +8711,10 @@ void sectionsd_main_thread(void */*data*/)
|
||||
struct sched_param parm;
|
||||
|
||||
printf("$Id: sectionsd.cpp,v 1.305 2009/07/30 12:41:39 seife Exp $\n");
|
||||
/* "export TEST_ADDEVENT=true" to enable this */
|
||||
slow_addevent = (getenv("TEST_ADDEVENT") != NULL);
|
||||
/* "export NO_SLOW_ADDEVENT=true" to disable this */
|
||||
slow_addevent = (getenv("NO_SLOW_ADDEVENT") == NULL);
|
||||
if (slow_addevent)
|
||||
printf("====================> USING SLOW ADDEVENT <=========================\n");
|
||||
printf("====> USING SLOW ADDEVENT. export 'NO_SLOW_ADDEVENT=1' to avoid <===\n");
|
||||
|
||||
SIlanguage::loadLanguages();
|
||||
|
||||
|
Reference in New Issue
Block a user