Skip to content

Commit 875c436

Browse files
authored
Merge pull request #9 from Ifechukwu001/main
Update Rabbit Enviroment variables
2 parents 9d19398 + ba09d8a commit 875c436

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.env.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ JWT_SECRET=xxx
2626
JWT_ISSUER=xxx
2727

2828
# time in minutes
29-
OTP_LIFETIME=10
29+
OTP_LIFETIME=10
30+
31+
RABBITMQ_HOST=localhost

src/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ class RabbitMQ(TypedDict):
106106

107107
rabbitmq_config: RabbitMQ = {"host": get_env_str("RABBITMQ_HOST")}
108108

109-
__all__ = ["app", "cache", "db", "env", "jwt_config", "log", "otp"]
109+
__all__ = ["app", "cache", "db", "env", "jwt_config", "log", "otp", "rabbitmq_config"]

0 commit comments

Comments
 (0)