only one worker again
This commit is contained in:
		
							parent
							
								
									456b6094f7
								
							
						
					
					
						commit
						f29aa52dd0
					
				
					 1 changed files with 22 additions and 22 deletions
				
			
		|  | @ -93,32 +93,32 @@ public class SEBClientEventBatchService { | |||
|     } | ||||
| 
 | ||||
|     @Scheduled( | ||||
|             fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
|             fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:500}", | ||||
|             initialDelay = 100) | ||||
|     public void worker1() { | ||||
|         processEvents("worker1"); | ||||
|     } | ||||
| 
 | ||||
|     @Scheduled( | ||||
|             fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
|             initialDelay = 300) | ||||
|     public void worker2() { | ||||
|         processEvents("worker2"); | ||||
|     } | ||||
| 
 | ||||
|     @Scheduled( | ||||
|             fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
|             initialDelay = 600) | ||||
|     public void worker3() { | ||||
|         processEvents("worker3"); | ||||
|     } | ||||
| 
 | ||||
|     @Scheduled( | ||||
|             fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
|             initialDelay = 900) | ||||
|     public void worker4() { | ||||
|         processEvents("worker4"); | ||||
|     } | ||||
| //    @Scheduled( | ||||
| //            fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
| //            initialDelay = 300) | ||||
| //    public void worker2() { | ||||
| //        processEvents("worker2"); | ||||
| //    } | ||||
| // | ||||
| //    @Scheduled( | ||||
| //            fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
| //            initialDelay = 600) | ||||
| //    public void worker3() { | ||||
| //        processEvents("worker3"); | ||||
| //    } | ||||
| // | ||||
| //    @Scheduled( | ||||
| //            fixedDelayString = "${sebserver.webservice.api.exam.session.event.batch.interval:1000}", | ||||
| //            initialDelay = 900) | ||||
| //    public void worker4() { | ||||
| //        processEvents("worker4"); | ||||
| //    } | ||||
| 
 | ||||
|     public void processOneTime() { | ||||
|         processEvents("One Time Call"); | ||||
|  | @ -243,7 +243,7 @@ public class SEBClientEventBatchService { | |||
|             return null; | ||||
| 
 | ||||
|         } catch (final Exception e) { | ||||
|             log.error("Failed to verify and process notification for SEB event: {}", eventData); | ||||
|             log.error("Failed to verify and process notification for SEB event: {}", eventData, e); | ||||
|             return eventData; | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti