Global varaiable of mqtt broker state

Can you tell me the approximate time frame for solving the problem? Best regargds!