mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 18:03:37 +02:00
sectionsd: disable removeDupEvents()
-> after two days of testing and logging removeDupEvents() did not nemove one single event. So disable it by flipping the CFLAG definition.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1537 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0fc88a4515
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-09 (Thu, 09 Jun 2011)
Origin message was:
------------------
- sectionsd: disable removeDupEvents()
-> after two days of testing and logging removeDupEvents() did not nemove one single event. So disable it by flipping the CFLAG definition.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1537 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1264,7 +1264,7 @@ static void removeOldEvents(const long seconds)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef NO_REMOVE_DUPS
|
||||
#ifdef REMOVE_DUPS
|
||||
/* Remove duplicate events (same Service, same start and endtime)
|
||||
* with different eventID. Use the one from the lower table_id.
|
||||
* This routine could be extended to remove overlapping events also,
|
||||
@@ -8369,7 +8369,7 @@ static void *cnThread(void *)
|
||||
unlockEvents();
|
||||
// usleep(100);
|
||||
// lockEvents();
|
||||
#ifndef NO_REMOVE_DUPS
|
||||
#ifdef REMOVE_DUPS
|
||||
removeDupEvents();
|
||||
readLockEvents();
|
||||
printf("[sectionsd] Removed %d dup events.\n", anzEventsAlt - mySIeventsOrderUniqueKey.size());
|
||||
|
Reference in New Issue
Block a user