server: add long-polling support

This commit is contained in:
2013-03-09 22:47:49 -05:00
parent 94823e104d
commit 1ddbcb3636
3 changed files with 89 additions and 2 deletions

View File

@ -158,7 +158,7 @@ func ProcessEvent(globals AsinkGlobals, event *asink.Event) {
event.Status |= asink.ON_SERVER
err = DatabaseUpdateEvent(globals.db, event)
if err != nil {
panic(err)
panic(err) //TODO probably, definitely, none of these should panic
}
}