We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a7cac commit 40507a6Copy full SHA for 40507a6
1 file changed
thread/timer.h
@@ -35,7 +35,7 @@ namespace photon
35
// it has a `stack_size`, and the `on_timer` is invoked within the thread's context.
36
// The timer object is deleted automatically after it is finished.
37
Timer(uint64_t default_timeout, Entry on_timer, bool repeating = true,
38
- uint64_t stack_size = 1024 * 64)
+ uint64_t stack_size = DEFAULT_STACK_SIZE)
39
{
40
_on_timer = on_timer;
41
_default_timeout = default_timeout;
0 commit comments