[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:26:28 PDT 2022


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

Michael Catanzaro <mcatanzaro at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at gnome.org

--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(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.

-- 
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/0b3924e4/attachment-0001.htm>


More information about the webkit-unassigned mailing list