commit before rebuild
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user