Advertisement
lostcalpolydude

504 error

Jul 3rd, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. if ( this.responseCode == 504 && this.baseURLString.equals( "storage.php" ) )
  2. {
  3. PauseObject pauser = new PauseObject();
  4. KoLmafia.updateDisplay( "Waiting 30 seconds for KoL to finish processing..." );
  5. pauser.pause( 30 * 1000 );
  6. // Likely a pullall request that timed out
  7. StorageRequest.refresh();
  8. InventoryManager.refresh();
  9. ClosetRequest.refresh();
  10. return true;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement