|
|
@@ -9,7 +9,7 @@ from app.core.session import session
|
|
|
from app.models import User, Sms, Project
|
|
|
|
|
|
TEST_SMS_PROJECT_NAME = "test_project pour sms"
|
|
|
-NUMBER_OF_SMS = 100
|
|
|
+NUMBER_OF_SMS = 80
|
|
|
|
|
|
|
|
|
def main() -> None:
|
|
|
@@ -27,7 +27,7 @@ def main() -> None:
|
|
|
now = datetime.now()
|
|
|
|
|
|
for t in range(NUMBER_OF_SMS):
|
|
|
- sending_time = now + timedelta(minutes=t * 5)
|
|
|
+ sending_time = now + timedelta(minutes=t * 45)
|
|
|
sms = Sms(
|
|
|
project_id=project.id,
|
|
|
content=sending_time.strftime("%m/%d/%Y, %H:%M:%S"),
|