Skip to content

Commit 1433d0a

Browse files
committed
Pep 8 changes
1 parent 4c8528f commit 1433d0a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

rfi_file_monitor/utils/decorators.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,14 @@ def wrapper(self: Engine, existing_files: List):
200200
len(existing_files) > chunk_size
201201
):
202202

203-
# do not like this hard coded value but it is emperically derived -
204-
# this is the max number of files that a queue can take without a long wait for users.
203+
# do not like this hard coded value but it is empirically derived -
204+
# this is the max number of files that a queue can take without a long wait for users working on a standard
205+
# size machine with 8CPU 8G RAM
205206
chunked_input = [
206-
existing_files[i : i + chunk_size]
207+
existing_files[i: i + chunk_size]
207208
for i in range(0, len(existing_files), chunk_size)
208209
]
209-
n= 1
210+
n = 1
210211
processed_files = 0
211212
for rv in chunked_input:
212213
chunk_weight = sum(

0 commit comments

Comments
 (0)