[Webkit-unassigned] [Bug 238958] [GTK][WPE] Clear ICU cache only on timezone changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 14:38:16 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238958

--- Comment #3 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to Michael Catanzaro from comment #2)
> (In reply to Adrian Perez from comment #0)
> > Side question: does systemd-timedated take notice itself of changed
> > done manually to the /etc/localtime file *without* using timedatectl?
> 
> Poking around in systemd's timedated.c and time-util.c, I don't think it
> does, and I certainly don't think WebKit should be expected to be more
> careful than systemd.
> 
> But even if it did, remember that the timedated D-Bus API might be
> implemented by something other than systemd. E.g. a few years ago, systemd
> decided to drop support for all NTP daemons except timesyncd, but Fedora
> wanted to keep using chrony, so the chrony maintainer wrote timedatex and we
> used that for several years.
> 
> Regardless, inotify is a precious limited resource, and really should not be
> used from the web process at all if possible, certainly not for an edge case
> like this. It's not a theoretical problem: Epiphany currently crashes after
> opening 70-80 tabs because we hit some system limit on inotify handles, and
> I'm not sure what we can do to fix it.

If we have no way except for inotify, then, we can do that in Browser process side, and broadcast timezone change message to web content processes.
But if D-bus supports such a notification, probably it is enough.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220407/b99b07e6/attachment.htm>


More information about the webkit-unassigned mailing list