activityping

package
v1.28.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package activityping is the host-side client for the lerd-watcher's idle control socket: it keeps a worked-on site awake under idle-suspend and asks the watcher to resume all suspended workers when the feature is switched off.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable()

Disable tells the watcher idle-suspend was turned off, so it resumes every suspended worker and tears the session down immediately.

func Enable

func Enable()

Enable tells the watcher idle-suspend was turned on, so it spins up the engine, access feed, and source watcher at once rather than on the next boot.

func Site

func Site(name string)

Site records activity for the named site so a terminal php/composer/npm run keeps it awake (and wakes it if asleep). No-op on an empty name.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL