fix
This commit is contained in:
		
							parent
							
								
									8424f6ddfe
								
							
						
					
					
						commit
						96da3ae563
					
				|  | @ -80,6 +80,7 @@ func NewStartCmd() *cobra.Command { | |||
| 				signal.Notify(c, syscall.SIGINT, syscall.SIGTERM) | ||||
| 			}(exitChannel) | ||||
| 			mq, err := hpds_node.NewMq(configFileFlag) | ||||
| 			must(err) | ||||
| 			mq.InitOptions(hpds_node.WithAuth("token", cfg.Token)) | ||||
| 			defer mq.Close() | ||||
| 
 | ||||
|  |  | |||
|  | @ -16,3 +16,14 @@ functions: | |||
|   - name: task-request | ||||
|   - name: task-response | ||||
|   - name: task-execute | ||||
| logging: | ||||
|   path: ./logs | ||||
|   prefix: mq-node | ||||
|   errorFileSuffix: error.log | ||||
|   warnFileSuffix: warn.log | ||||
|   infoFileSuffix: info.log | ||||
|   debugFileSuffix: debug.log | ||||
|   maxSize: 100 | ||||
|   maxBackups: 3000 | ||||
|   maxAge: 30 | ||||
|   development: true | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue