Skip to content

Commit

Permalink
✨ feat(app): update receiver client methods
Browse files Browse the repository at this point in the history
- Adjusted indentation for parameters in methods
- Fixed logic for task snapshot credential processing
  • Loading branch information
sudoskys committed Apr 16, 2024
1 parent 591eb41 commit 0cb995b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/receiver/receiver_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ async def on_message(self, message: AbstractIncomingMessage):
data = snap_data.data
renew_snap_data = []
for task in data:
if not task.snapshot_credential:
if not task.snapshot_credential and not task.processed:
try:
await Task.create_and_send(
queue_name=task.channel, task=task.snapshot_data
Expand Down

0 comments on commit 0cb995b

Please sign in to comment.