fix event list creation
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
@ -266,6 +266,7 @@ class EventList(TestSuite):
|
||||
]
|
||||
|
||||
def create_data(self, event_count: int):
|
||||
for _ in range(event_count // 1000):
|
||||
Event.objects.bulk_create(
|
||||
[
|
||||
Event(
|
||||
@ -286,7 +287,7 @@ class EventList(TestSuite):
|
||||
},
|
||||
client_ip="192.0.2.42",
|
||||
)
|
||||
for _ in range(event_count)
|
||||
for _ in range(1000)
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user