Documentation
¶
Overview ¶
Package cmd provides the CLI commands for notion-sync.
Package cmd provides the CLI commands for notion-sync.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMemoryLimitFromCgroup ¶ added in v0.9.0
func SetMemoryLimitFromCgroup()
SetMemoryLimitFromCgroup sets GOMEMLIMIT to 85% of the cgroup memory limit, unless GOMEMLIMIT is already set in the environment (an explicit operator setting always wins) or no usable cgroup limit can be determined. It is a no-op on platforms without cgroup files (e.g. macOS, Windows), since the "unreadable -> do nothing" rule covers their absence.
Types ¶
Click to show internal directories.
Click to hide internal directories.