Differential D14073 Diff 34742 src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php
| Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | while (!$this->shouldExit()) { | ||||
| } | } | ||||
| } | } | ||||
| if ($queue) { | if ($queue) { | ||||
| $this->log( | $this->log( | ||||
| pht( | pht( | ||||
| 'Not enough process slots to schedule the other %s '. | 'Not enough process slots to schedule the other %s '. | ||||
| 'repository(s) for updates yet.', | 'repository(s) for updates yet.', | ||||
| new PhutilNumber(count($queue)))); | phutil_count($queue))); | ||||
| } | } | ||||
| if ($futures) { | if ($futures) { | ||||
| $iterator = id(new FutureIterator($futures)) | $iterator = id(new FutureIterator($futures)) | ||||
| ->setUpdateInterval($min_sleep); | ->setUpdateInterval($min_sleep); | ||||
| foreach ($iterator as $id => $future) { | foreach ($iterator as $id => $future) { | ||||
| $this->stillWorking(); | $this->stillWorking(); | ||||
| ▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines | |||||