Server code Timer transaction
I am currently facing some database performance issues in my custom server code timer. I need to do:
1) query my table for new records
2) send a push notification for each new record
3) update record with a flag that the push notification has been sent
When the Backendless servers are a bit too busy, I run out of execution time (free version, 5 seconds) because my database actions take too long, It then happens that a push notification is sent out but the record has not been updated. Is there any kind of mechanism I can use to encapsulate three above steps into one logical transaction?