<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello everyone,</div><div>Recently, I am writing an algorithm about token buckets. But I have some problems. I want to be able to periodically update the number of tokens in per node. I don't know how to insert the periodically function  into the program.</div><div><br></div><div>Can anyone help me solve this problem?Thanks in advance£¡</div><div>   </div></div><br><br><span title="neteasefooter"><p> </p></span>