SHARE
TWEET

Untitled

a guest Sep 11th, 2019 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for ( 1..100 ) {
  2.     ...
  3.     ...
  4.     while ( $cur_time - $last_time < 0.25 ) # at least seconds from last http request
  5.         { $cur_time = ... }
  6.     $last_time = $cur_time;
  7.     $client->POST(...);
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top