mirror of
https://github.com/sablierapp/sablier.git
synced 2026-01-03 03:27:28 +01:00
fix: use paramter for dynamic strategy
The value was using a hardcoded 5s Fixes #175
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
@@ -87,7 +86,7 @@ func (s *ServeStrategy) ServeDynamic(c *gin.Context) {
|
||||
CustomThemes: s.customThemesFS,
|
||||
AllowedCustomThemes: s.customThemes,
|
||||
Version: version.Version,
|
||||
RefreshFrequency: 5 * time.Second,
|
||||
RefreshFrequency: request.RefreshFrequency,
|
||||
InstanceStates: sessionStateToRenderOptionsInstanceState(sessionState),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user