fixed surrogate process counter

pull/402/head
Michael Peter Christen 4 years ago
parent 88590db91e
commit 3e6a1e0a49

@ -2418,7 +2418,13 @@ public final class Switchboard extends serverSwitch {
}
int count = 0;
for ( final String s : surrogatelist ) {
if ( s.endsWith(".xml") ) {
if ( s.endsWith(".xml")
|| s.endsWith(".xml.gz")
|| s.endsWith(".xml.zip")
|| s.endsWith(".warc")
|| s.endsWith(".warc.gz")
|| s.endsWith(".jsonlist")
|| s.endsWith(".flatjson") ) {
count++;
}
if ( count >= 100 ) {

Loading…
Cancel
Save