Files
Hanif Koh 66d374abf2 Create Every Printer Agent When Networking Starts Instead of When Discovery Asks
get_discovery_candidates() created any registered agent that was not cached yet, so creating agents was a side effect of asking for the list. The built-in agents are now created by NetworkAgentFactory::create_printer_agents() when on_init_network() builds networking, which also hands the cached agents the new cloud agents when networking is rebuilt, and a Python agent is cached when its plugin registers it. get_discovery_candidates() only reads the cache. Behaviour is the same: every registered agent exists from startup, and discovers_on_lan() decides which ones scan.
2026-11-30 15:57:04 +08:00
..