lehitoskin / blight

Blight is a Tox client written in Racket that utilizes libtoxcore-racket
GNU General Public License v3.0
44 stars 4 forks source link

bug: history: add exn handler and use milliseconds for timestamp #46

Closed 4DA closed 10 years ago

4DA commented 10 years ago

When blight receives two or more messages (from single contact) within a second it causes query-exec to throw exception, because new entry is added to DB with duplicate three fields which causes INDEX UNIQUE to error.

using milliseconds for timestamp should handle that.

tested on both amd64 and x32.