Skip to content

Commit

Permalink
Merge pull request #58 from deer-wmde/fix-sleep-int-conversion
Browse files Browse the repository at this point in the history
fix: Deprecation warning & float to int conversion
  • Loading branch information
magnusmanske authored Jan 31, 2025
2 parents 994f57c + 83b9fe3 commit 22e76ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/quickstatements.php
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ public function getTemporaryBatchSummary () {
}

public function runSingleCommand ( $command ) {
if ( $this->sleep != 0 ) sleep ( $this->sleep ) ;
if ( $this->sleep != 0 ) sleep ( $this->usleep * 1000 ) ;
if ( !isset($command) ) return $this->commandError ( $command , "Empty command" ) ;
$command->status = 'working' ;
if ( isset($command->error) ) unset ( $command->error ) ;
Expand Down

0 comments on commit 22e76ba

Please sign in to comment.