Baoyuantop commented on issue #12635:
URL: https://github.com/apache/apisix/issues/12635#issuecomment-3336514821

   The informer_factory maintains fetch_state during the List/Watch process: 
"connecting" → "listing" → "list finished" → "watching".
   Can we start a lightweight timer in init.lua to periodically read 
`handle.fetch_state`? When `list finished` is first observed, write 
`discovery_ready=true` to the corresponding shared dictionary and mark it as 
set (to avoid duplicates). This way, we wouldn't rely on fixing the pre_list 
function. What do you think?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to