Skip to content

Commit 19bd155

Browse files
committed
removed gc message recieval logs and removed update from entrypoint
1 parent 60ed0d2 commit 19bd155

3 files changed

Lines changed: 8 additions & 30 deletions

File tree

entrypoint.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

33
# Check if UPDATE=true
4-
if [ "$UPDATE" == "true" ]; then
5-
echo "Running in update mode. Skipping Python script execution."
6-
# Keep the container running without executing the Python script
7-
tail -f /dev/null # This will keep the container running indefinitely
8-
exit 0 # Exit so the Python script doesn't run
9-
fi
4+
# if [ "$UPDATE" == "true" ]; then
5+
# echo "Running in update mode. Skipping Python script execution."
6+
# # Keep the container running without executing the Python script
7+
# tail -f /dev/null # This will keep the container running indefinitely
8+
# exit 0 # Exit so the Python script doesn't run
9+
# fi
1010

1111
# Printing Env Data
1212
echo "+===========================================================+"

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,10 @@ async def handler(event):
288288
sender = await message.get_sender()
289289
sender_username = sender.username.lower() if sender.username else None
290290

291-
print(f"Sender Username: {sender_username}")
291+
#print(f"Sender Username: {sender_username}")
292292

293293
if sender_username != TARGET_USERNAME.lower():
294-
print(f"[{current_time}] Message {message.id} not from target username, skipping.")
294+
#print(f"[{current_time}] Message {message.id} not from target username, skipping.")
295295
return
296296

297297
# Update last message content **before processing**

old/docker-compose.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)