generate-test-data: calculate in kilo, not kibi

stable
neingeist 6 years ago
parent 1fc757c6fb
commit 18381fffc2

@ -3,7 +3,7 @@ from datetime import datetime, timedelta
KBITS = 128 KBITS = 128
bytes_per_second = KBITS * 1024 // 8 bytes_per_second = KBITS * 1000 // 8
start = datetime.now().replace(minute=0, second=0) - timedelta(hours=3) start = datetime.now().replace(minute=0, second=0) - timedelta(hours=3)
end = start + timedelta(hours=6) end = start + timedelta(hours=6)

Loading…
Cancel
Save