Hello@robinshen
I have met an Abnormal behavior when editing plugin.
The case is:
I have a build agent connected to my QB server through a port P.
When edit plugin and save settings, the process is normal.
But when I block port P from agent.
The save process is so long, until the session end.
Please explain the relation of agent connection and editing plugin process.
*Note: I met the case above when the poor connection between agent and server happen. (Not only the block action)
@robinshen
Can you add a condition (or log) to check the connect from Server to Agent before update plugin from cache to agent when status or setting plugin change.
This action will prevent the long time update setting plugin.
QB server does send heartbeat to agent, and disconnect it if does not hear back after certain time of period. Plugin setting updates only send to connected agents. Maybe doing this in a background thread is more appropriate. I filed an improvement request for this:
Will include this improvement in next patch release.