Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
wait
codeintel.notify.UpstashRestNotifier.wait
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| UpstashRestNotifier | notify.py | same file |
codeintel.notify.UpstashRestNotifier.waitbackend/app/codeintel/notify.py, lines 100–109Open source
def wait(self, timeout: int) -> str | None: try: result = self._cmd(["BLPOP", self.key, str(timeout)], timeout=timeout + 15) except Exception as exc: logger.warning("Upstash BLPOP failed (%s); falling back to DB polling", type(exc).__name__) time.sleep(min(timeout, 5)) return None if isinstance(result, list) and len(result) == 2: return _parse(result[1]) return NoneWhat the index recorded
- Signature
def wait(self, timeout: int) -> str | None:- File
backend/app/codeintel/notify.py- Lines
- 100–109
- Parser
- python-ast
- Git blob
fc15788e6d2a98f2857ebab4c81c9c193abb5873- Call sites
- 9 named, 3 resolved, 6 left unlinked
- Outside this subset
- 1 more edges reach code outside the graph shown here
