commit before rebuild

This commit is contained in:
pb
2024-07-29 15:45:32 +02:00
parent 559bac5eb9
commit 0c02f26c28
13 changed files with 346 additions and 26 deletions

View File

@@ -31,7 +31,7 @@ func (s *ScheduleManager) SetBookings(b *models.ScheduledBooking){
// on workflows' scheduling. Messages must contain
// workflow's name, start_date and stop_date while there
// is no way to get scheduling infos for a specific workflow
func (s *ScheduleManager) ListenWorkflowSubmissions(){
func (s *ScheduleManager) ListenForWorkflowSubmissions(){
if(s.bookings == nil){
logger.Logger.Fatal().Msg("booking has not been set in the schedule manager")
@@ -79,7 +79,7 @@ func retrieveMapFromSub(message []byte) (result_map map[string]string) {
// Used at launch of the component to retrieve the next scheduled workflows
// and then every X minutes in case some workflows were scheduled before launch
func (s *ScheduleManager) RetrieveScheduling (){
func (s *ScheduleManager) SchedulePolling (){
for(true){
err := s.getNextScheduledWorkflows(s.Api_url, 0.3)
if err != nil {