Skip to content

Commit 261ef3b

Browse files
committed
Add a sleep so google doesn't think we are spam. thanks to mwight4.
1 parent 702c01f commit 261ef3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GoogleStructuredDataTestTool.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ private function hardWork($argument, $option)
9797
}
9898

9999
$numUrl++;
100+
//Add a sleep so google doesn't think we are spam. thanks to mwight4.
101+
sleep(random_int(30,90));
100102
}
101103

102104
$this->notifyResult($option['mail'], $option['nomailok'], $tuttoOk);

0 commit comments

Comments
 (0)