fix(redshift-connector): Fixed close connection when exception
This commit is contained in:
parent
d3a611a676
commit
4cef5a8524
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ class WorkerPool:
|
|||
main_conn.send('CONTINUE')
|
||||
print('[WORKER-INFO] Sending close signal')
|
||||
main_conn.send('CLOSE')
|
||||
self.terminate()
|
||||
self.terminate(database_api)
|
||||
kafka_reader_process.terminate()
|
||||
print('[WORKER-SHUTDOWN] Process terminated')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue