Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ timer's problem for mushclient running on a cloud computer(VPN)

timer's problem for mushclient running on a cloud computer(VPN)

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Lxhd   (27 posts)  Bio
Date Tue 04 Jul 2017 11:17 AM (UTC)
Message
my mushclient is running on a remote cloud computer, I made a timer with interval of 3 seconds, but it found that the timer's next time running is remaining exceed 3 seconds, sometimes "next" showed 8s, even sometimes it's more than 20 seconds. What's cause the timer's interval automatically changed?



</timer>
<timer name="pfm" second="3.00" offset_second="0.00" send_to="10"
group="pfm" >
<send>hp</send>
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #1 on Thu 06 Jul 2017 01:56 AM (UTC)
Message
Could it be related to this?

http://www.gammon.com.au/forum/?id=8159&reply=14#reply14

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 07 Jul 2017 05:15 AM (UTC)
Message
Timers are implemented using Windows timers which are a low priority event. Possibly your cloud computer is servicing other things (eg. comms) which is deferring it noticing the timer expiry.

If there is a lot of activity on the MUD you could possibly work around it by building in a time-elapsed check on a "catch-all" trigger, and using that to do things after a certain number of seconds elapses.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,615 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.