(20241230) Method correction.

This commit is contained in:
2024-12-30 10:53:31 +05:30
parent 4af9980249
commit e3d71965bb
6 changed files with 31 additions and 7 deletions
+6 -6
View File
@@ -331,12 +331,12 @@ async def init():
cwd = files.get_cwd()
parent_dir = cwd
ssl_context = get_ssl_context(
ca_file = "/etc/ssl/dbu/ca.pem",
cert_file = "/etc/ssl/dbu/fullchain.pem",
key_file = "/etc/ssl/dbu/privkey.pem"
# ca_file = os.path.join(parent_dir, "creds", "kafka", "cert_authority.pem"),
# cert_file = os.path.join(parent_dir, "creds", "kafka", "fullchain.pem"),
# key_file = os.path.join(parent_dir, "creds", "kafka", "privkey.pem")
# ca_file = "/etc/ssl/dbu/ca.pem",
# cert_file = "/etc/ssl/dbu/fullchain.pem",
# key_file = "/etc/ssl/dbu/privkey.pem"
ca_file = os.path.join(parent_dir, "creds", "kafka", "cert_authority.pem"),
cert_file = os.path.join(parent_dir, "creds", "kafka", "fullchain.pem"),
key_file = os.path.join(parent_dir, "creds", "kafka", "privkey.pem")
)
sio.start_background_task(
ticks_from_kafka,