Skip to content

Commit

Permalink
Update Hamster.php
Browse files Browse the repository at this point in the history
  • Loading branch information
PineappleIOnic committed Nov 30, 2023
1 parent dea3e74 commit 8bec64b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Appwrite/Platform/Tasks/Hamster.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ public function action(Group $pools, Cache $cache, Database $dbForConsole): void
$next = new \DateTime($now->format("Y-m-d $jobInitTime"));
$next->setTimezone(new \DateTimeZone(date_default_timezone_get()));
$delay = $next->getTimestamp() - $now->getTimestamp();

$delay = 5;

/**
* If time passed for the target day.
*/
Expand Down

0 comments on commit 8bec64b

Please sign in to comment.