Results 1 to 6 of 6

Thread: working with exec_async

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    ... connecting
    Join Date
    May 2019
    Posts
    8
    Thanks
    7
    Thanked 4 Times in 4 Posts
    why GetEntByNum() doesn't work? it's even in the documentation! anyway your code works great, thanks!

    Quote Originally Posted by voron00 View Post
    You should call check_async() on gametype start, not on some event, it should always be running.
    can that infinite check cause performance problems? Dunno just asking.

    Quote Originally Posted by voron00 View Post
    Notify stops all running threads with the corresponding endon.
    Yeah you're right I setup a test to try and it stops all with the same name. That's why I have now a dynamic name for the event so it stops the right one everytime.
    But if you're telling me that I can just leave it running forever without performance problems, it's easier to do.

    Quote Originally Posted by voron00 View Post
    And you REALLY should't use exec to to that kind of stuff, mysql/sqlite should be used for that and they can also be called directly on entities.
    I actually send the data with curl to another server don't need to store anything here. SQL server is not exposed on the internet.
    I was using python before to send the data but I think with .sh is faster.
    Is this such a shitty architecture? I'd love suggestions on all fronts, as always thank you for the heads up.
    Last edited by Miri; 29th May 2019 at 05:03.

  2. The Following User Says Thank You to Miri For This Useful Post:

    kung foo man (29th May 2019)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •