From aa06287b18c3735a52af287d25edb14c0c7c5bc3 Mon Sep 17 00:00:00 2001 From: Mats Linander Date: Thu, 21 Sep 2023 12:55:19 -0400 Subject: [PATCH] docs --- docs/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules.md b/docs/modules.md index 2ac91ee18c..0cbc14c34e 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -214,7 +214,7 @@ See [examples/sunrise.star](../examples/sunrise.star) for an example. ## Pixlet module: Random -The `random` module provides a pseudorandom number generator for pixlet. The generator is automatically seeded to a new random value on each execution, but a deterministic seed can also be set. +The `random` module provides a pseudorandom number generator for pixlet. The generator is automatically seeded on each execution. The seed itself changes every 15 seconds, making apps deterministic over that same time window. This behavior enables more effective caching of execution results on Tidbyt servers. Developer can reseed via `random.seed` if needed. | Function | Description | | --- | --- |