Exote/WebAuction — pull request #2 by robxu9 (2011-12-19 01:40:41+00:00)
Title: WebAuction improvements

I made a few changes here. Feel free to question/ask me to change back/whatever things.

- You don't use the signDelayMilliseconds. On sync threads, the number is seconds*20, and it's a string, so if you actually use that (maybe change to seconds?), we could easily set the number of seconds to check. Didn't implement that in this pull request.

- Your sync threads were lagging my server terribly. I took a leap of faith and moved it to Async threads. I just hope that's it won't kill the main thread. (UNTESTED... but works on my server)

- I made it so that you only open/close the MySQL connection once. I might check to see in every method if the mysql connection is open (just because sometimes connections can be cut) and open it if not, but it should open once and close once. It's a static variable.

- Removed all that Register crap and changed it to use Vault.