Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #134 from Amsterdam/feature/increase-batch-size
Browse files Browse the repository at this point in the history
Increase default_batch_size to 10000
  • Loading branch information
kramer65 authored Mar 18, 2021
2 parents 8b56cae + a2b09c5 commit 60a4819
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/telcameras_v3/ingress_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class TelcameraParser(BaseConsumer):
"""
set_consume_started_at = True

def get_default_batch_size(self):
return 10000

def consume_raw_data(self, raw_data):
observation = json.loads(raw_data)
observation['message_id'] = observation.pop('id')
Expand Down

0 comments on commit 60a4819

Please sign in to comment.