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:
seife
2011-05-08 11:16:12 +00:00
parent 0dcbf51f85
commit 8a062b0ee5

View File

@@ -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();