MCPcopy Create free account
hub / github.com/taskforcesh/bullmq / isMaxed

Method isMaxed

php/src/Scripts.php:515–521  ·  view source on GitHub ↗

* Check if queue is maxed (rate limited). * * @return bool */

()

Source from the content-addressed store, hash-verified

513 * @return bool
514 */
515 public function isMaxed(): bool
516 {
517 $keys = [$this->keys['meta'], $this->keys['active']];
518 $result = $this->execScript('isMaxed-2.lua', $keys, []);
519
520 return (bool) $result;
521 }
522
523 /**
524 * Get rate limit TTL.

Callers

nothing calls this directly

Calls 1

execScriptMethod · 0.95

Tested by

no test coverage detected