Current time: 06-02-2020, 10:18 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does polling work?
11-27-2014, 07:56 AM
Post: #2
RE: How does polling work?
When an agent is checking for work the server "locks" the work queue (with a file lock in tmp/) to make sure only one thing at a time is operating on the queues.

Starting up agents should show right away (well, as soon as they actually start). If you are spinning up agents on EC2 it can take a good 10 minutes for regular instances and even longer for spot instances.

Shutting down the server doesn't delete test agents until it has been an hour since they connected which is why it takes a while for them to disappear.

As far as the test ID, the middle is just a random hash (defaults to 2 digits) to prevent the filesystem from throwing up with too many directories. The last block is usually an incrementing counter converted to alphanumeric (or a md5 hash of a random ID for private tests).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
How does polling work? - VoodooShane - 11-27-2014, 06:02 AM
RE: How does polling work? - pmeenan - 11-27-2014 07:56 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)