transactions: set timeout back to 200ms

The change to 1000ms was an accident
This commit is contained in:
Isaac Freund 2020-06-08 01:16:15 +02:00
parent c0d7e71ec4
commit 5f2aa02132
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -190,7 +190,7 @@ fn startTransaction(self: *Self) void {
);
// Set timeout to 200ms
if (c.wl_event_source_timer_update(self.transaction_timer, 1000) < 0) {
if (c.wl_event_source_timer_update(self.transaction_timer, 200) < 0) {
Log.Error.log("failed to update timer.", .{});
self.commitTransaction();
}