I hope this is the right place to ask developer questions. I've built up a fairly substantial application using gears, but I'm running into database locking issues and am wondering if anyone has come up with strategies to resolve these locks.
I have both a main thread and a worker thread that needs to access the database, and it seems either the threads are trying to access the database at the same time or I haven't released the access to the database correctly. I guess one solution would be to write a function to handle all db requests so that it uses a Try/Catch loop until successful. What do you think?
