Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
wait
codeintel.notify.RedisNotifier.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 |
|---|---|---|
| _parse | notify.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| RedisNotifier | notify.py | same file |
codeintel.notify.RedisNotifier.waitbackend/app/codeintel/notify.py, lines 67–74Open source
def wait(self, timeout: int) -> str | None: try: item = self._client.blpop([self.key], timeout=timeout) except Exception as exc: logger.warning("Redis BLPOP failed (%s); falling back to DB polling", type(exc).__name__) time.sleep(min(timeout, 5)) return None return _parse(item[1]) if item else NoneWhat the index recorded
- Signature
def wait(self, timeout: int) -> str | None:- File
backend/app/codeintel/notify.py- Lines
- 67–74
- Parser
- python-ast
- Git blob
fc15788e6d2a98f2857ebab4c81c9c193abb5873- Call sites
- 6 named, 2 resolved, 4 left unlinked
- Outside this subset
- 1 more edges reach code outside the graph shown here
