Base solution for your next web application
Open Closed

Question related to GetWorldMap Service #3495


User avatar
0
moustafa created

Hello

In Dashboard page i noticed that GetWorldMap Service are being called repeatedly is that normal behavior as i captured 30 in less than a minute

Thanks


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi,

    it's normal behaviour. World map gets data every 3 seconds from host to refresh map.

  • User Avatar
    0
    moustafa created

    how that considered as normal behavior as it continued to refresh even you left the dashboard page?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @moustafa,

    That is not normal of course. There was a similar problem and we have fixed it, you can check it here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/angular/src/app/main/dashboard/dashboard.component.ts#L62">https://github.com/aspnetzero/aspnet-ze ... ent.ts#L62</a>.

    Timer must be stopped when you leave dashboard page.

    Thanks.