Skip to content

Commit

Permalink
Disable http server idle shutdown on Linux systems anxdpanic#1056
Browse files Browse the repository at this point in the history
- Work around for xbmc/xbmc#17047
  • Loading branch information
MoojMidge committed Jan 10, 2025
1 parent 9ac3514 commit 87cc432
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def process_default_settings(context, step, steps, **_kwargs):
settings.alternative_player_mpd(False)
if settings.cache_size() < 20:
settings.cache_size(20)
if context.get_infobool('System.Platform.Linux'):
settings.httpd_sleep_allowed(False)
with ui.create_progress_dialog(
heading=localize('httpd'),
message=localize('httpd.connect.wait'),
Expand Down

0 comments on commit 87cc432

Please sign in to comment.