Also crawl the last mirror in the database.
The last mirror in the database was not crawled and this adds '1' to the --stopid if necessary.
This commit is contained in:
parent
2fc7977b35
commit
48e181ab24
1 changed files with 3 additions and 0 deletions
|
@ -26,4 +26,7 @@ for i in `seq 1 ${NUMBER_OF_CRAWLERS}`; do
|
||||||
fi
|
fi
|
||||||
let STARTID=${STARTID}+${PART}
|
let STARTID=${STARTID}+${PART}
|
||||||
let STOPID=${STOPID}+${PART}
|
let STOPID=${STOPID}+${PART}
|
||||||
|
if [ "${STOPID}" -eq "${MAX_HOST}" ]; then
|
||||||
|
let STOPID=${STOPID}+1
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue