update mnml service file for syslog

This commit is contained in:
ntr
2019-11-13 12:11:35 +11:00
parent ddc75e6ff9
commit 784c5910a1
3 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -77,11 +77,11 @@ fn handle_notification(n: Notification, pool: &PgPool, events: &Sender<Event>) {
let msg = match n.action {
Action::Delete => {
warn!("unimplemented delete notification {:?}", n);
// warn!("unimplemented delete notification {:?}", n);
None
},
Action::Insert => {
warn!("unimplemented insert notification {:?}", n);
// warn!("unimplemented insert notification {:?}", n);
None
},
Action::Update => match n.table {
@@ -92,7 +92,7 @@ fn handle_notification(n: Notification, pool: &PgPool, events: &Sender<Event>) {
Table::Games =>
Some(Event::Push(n.id, RpcMessage::GameState(game::game_get(&mut tx, n.id).unwrap()))),
_ => {
warn!("unimplemented update notification {:?}", n);
// warn!("unimplemented update notification {:?}", n);
None
},
},