kittycheck
kittycheck copied to clipboard
minor fix for concurrent checkin update
Бобук, ты уже видел этот патч в пул реквестах (7929a49). Это патч к патчу, я пригляделся и понял, что твоя строчка тоже нужна, ты же из нее ответ формируешь.
in code int(checking) + 1 changed to mongodb modifier operation {"$inc": {"checkins": 1}}; it improves data consistency in case of concurrent access