drupflare/worker - v1.0.0
    Preparing search index...

    Function readMaintenanceMode

    • Maintenance mode, read the same way.

      State::set() writes through to key_value immediately (State.php:97-113 calls $this->keyValueStore->set() before touching its cache), so this sees a value PHP set in the previous beat without going near cache_bootstrap.

      Parameters

      Returns boolean | null

      null when absent or unparseable, which the gate refuses