Skip to content

Commit

Permalink
log time in milliseconds
Browse files Browse the repository at this point in the history
was using seconds as ms
  • Loading branch information
totaam committed Jan 12, 2025
1 parent 965be89 commit 6bc9797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/server/window/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -1618,8 +1618,8 @@ def do_damage(self, ww: int, wh: int, x: int, y: int, w: int, h: int, options: d
continue
if override or k not in existing_options:
existing_options[k] = options[k]
damagelog("do_damage%-24s wid=%s, using existing %i delayed regions created %.1fms ago",
(x, y, w, h, options), self.wid, len(regions), now-delayed.damage_time)
damagelog("do_damage%-24s wid=%s, using existing %i delayed regions created %ims ago",
(x, y, w, h, options), self.wid, len(regions), 1000*(now-delayed.damage_time))
if not self.expire_timer and not self.soft_timer and self.soft_expired == 0:
log.error("Error: bug, found a delayed region without a timer!")
self.expire_timer = GLib.timeout_add(0, self.expire_delayed_region, now)
Expand Down

0 comments on commit 6bc9797

Please sign in to comment.