File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -411,32 +411,6 @@ init_path() {
411411 esac
412412}
413413
414- # Delay initial requests to servers by secs.
415- # Usage:
416- # Quiet mode (non-interactive friendly): `edging`
417- # Verbose mode: `edging -v`
418- edging () {
419- local EDGING_TIME=" $( utils random_num 0 600) " # Range better EQ to watchdog().while.echo .
420- [ " $1 " = " -v" ] && {
421- echo " Edging Mode is On."
422- echo
423- echo " Delay [${EDGING_TIME} ]s before Simping [${MODEL} ]."
424- echo
425- echo " Considering we won't send any requests to [${PLATFORM} ]"
426- echo " server until Edging is over, So please make sure that"
427- echo " [${MODEL} ] exists on [${PLATFORM} ]. "
428- echo
429- echo " Edging..."
430- echo
431- sleep " ${EDGING_TIME} "
432- echo " Edging Enough...Cum..."
433- echo
434- return
435- }
436- log " (NOTICE) Edging [${EDGING_TIME} ]s before Simping [${MODEL} ] (${PLATFORM} )..."
437- sleep " ${EDGING_TIME} "
438- }
439-
440414# Core Platform Methods.
441415# $STREAM_STAT = { OK | NO_URL (init) | NAME_CHANGE | WRONG_ROOM | BAD_URL | TIN_FOIL_HAT }
442416# with return { 0 | 1 | 1 | 1 | 1 | 110 }
@@ -708,7 +682,9 @@ watchdog() {
708682 init_path -f " ${WATCHDOG_LOGFILE} :" " ${FFMPEG_LOGFILE} :" || { mgn >&2 ; exit 1; }
709683
710684 [ -n " ${EDGING_MODE} " ] && {
711- [ -z " ${NOBANNER} " ] && edging -v || edging
685+ EDGING_TIME=" $( utils random_num 0 600) "
686+ log " (NOTICE) Edging Mode is On. Delay [${EDGING_TIME} ]s before start simping..."
687+ sleep " ${EDGING_TIME} " && unset EDGING_TIME
712688 }
713689
714690 watchdog 2>&1 | tee -a " ${WATCHDOG_LOGFILE} " 2> /dev/null
You can’t perform that action at this time.
0 commit comments