Skip to content

Commit

Permalink
fix(housekeeping): send space warning erery 5 mins
Browse files Browse the repository at this point in the history
This housekeeping module is added
because X-org has a problem in XSession script,
which cause XSession failed to start
when user's home directory is full.

Basically, XSession fails because
the script redirect std error to ~/.xerrors
and failed to write to that file.

This bug is fixed in UOS and deepin,
by update the XSession script to ignore that write failure.

So full of user home directory is not such a big issue now.

We can send this warning not that frequently as we used to be,
as some users may consider this warning annoying.

Related: linuxdeepin/developer-center#4685
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Jun 20, 2023
1 parent 3c69413 commit 3f4198d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion housekeeping/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (d *Daemon) Start() error {
return nil
}

d.ticker = time.NewTicker(time.Minute * 1)
d.ticker = time.NewTicker(time.Minute * 10)
d.stopChan = make(chan struct{})
go func() {
for {
Expand Down

0 comments on commit 3f4198d

Please sign in to comment.