MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / initialize_network_intelligence

Method initialize_network_intelligence

shared.py:313–321  ·  view source on GitHub ↗

Initialize the network intelligence system

(self)

Source from the content-addressed store, hash-verified

311 # display and web server sooner.
312 if not self._pager_mode:
313 threading.Thread(target=self._deferred_init, daemon=True).start()
314 else:
315 # Pager mode: load fonts/images synchronously (lightweight)
316 self.load_fonts()
317 self.load_images()
318 self._deferred_init_done.set()
319
320 # Start background cleanup task for old hosts (needs DB)
321 if not self._pager_mode and self.db is not None:
322 self._start_cleanup_task()
323
324 def _deferred_init(self):

Callers 1

_deferred_initMethod · 0.95

Calls 3

NetworkIntelligenceClass · 0.90
infoMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected