Commit 64b11314 authored by Ray Strode's avatar Ray Strode

data: don't send change updates for login-history

The login-history property of user objects can be quite large.
If wtmp is changed frequently, that can lead to memory fragmentation
in clients.

Furthermore, most clients never check login-history, so it's
wasted memory and wasted cpu.

This commit disables change notification for that property.  If
a client really needs to get updates, they can manually refresh
their cache when appropriate.
parent 0e712e93
Pipeline #36177 passed with stage
in 1 minute and 37 seconds
...@@ -812,6 +812,7 @@ ...@@ -812,6 +812,7 @@
</property> </property>
<property name="LoginHistory" type="a(xxa{sv})" access="read"> <property name="LoginHistory" type="a(xxa{sv})" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
<doc:doc> <doc:doc>
<doc:description> <doc:description>
<doc:para> <doc:para>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment