mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Remove duplicates from log
This commit is contained in:
1 parent
99143b79f0
commit
8819919de7
1 file changed
+5
-1
+5
-1
@@ -34,7 +34,11 @@ async function test() {
|
||||
parallel: 1,
|
||||
itemCallback: item => {
|
||||
stats.channels++
|
||||
if (!item.status.ok && item.status.reason !== 'Timed out') {
|
||||
if (
|
||||
!item.status.ok &&
|
||||
item.status.reason !== 'Timed out' &&
|
||||
item.status.reason !== 'Duplicate'
|
||||
) {
|
||||
stats.failures++
|
||||
|
||||
helper.writeToLog(country.url, item.status.reason, item.url)
|
||||
|
||||
Reference in new issue
Block a user