Skip to content

Commit

Permalink
feat: start work on implementing centrum timings logic
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Oct 13, 2024
1 parent 7b05ea1 commit d2bc797
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions app/store/centrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const useCentrumStore = defineStore('centrum', {
this.settings.job = settings.job;
this.settings.mode = settings.mode;
this.settings.fallbackMode = settings.fallbackMode;
this.settings.timings = settings.timings;
} else {
this.settings = settings;
}
Expand Down
4 changes: 3 additions & 1 deletion gen/go/proto/services/centrum/state/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ func (s *State) GetSettings(ctx context.Context, job string) *centrum.Settings {
FallbackMode: centrum.CentrumMode_CENTRUM_MODE_MANUAL,
PredefinedStatus: &centrum.PredefinedStatus{},
Timings: &centrum.Timings{
DispatchMaxWait: 900,
DispatchMaxWait: 900,
RequireUnit: false,
RequireUnitReminderSeconds: 180,
},
}
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"google-protobuf": "3.21.4",
"grpc-web": "1.5.0",
"howler": "2.2.4",
"jodit": "4.2.27",
"jodit": "4.2.32",
"jodit-vue": "3.1.0",
"leaflet": "1.9.4",
"leaflet-contextmenu": "1.4.0",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d2bc797

Please sign in to comment.