Use 32 bits integer for repeat field instead of small integer (16 bits) to avoid overflow with frequent scheduled tasks

This commit is contained in:
Gaël Chardon
2017-10-09 11:30:47 +02:00
parent d33752fb63
commit 3d2099f48c
2 changed files with 20 additions and 1 deletions
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('django_q', '0008_auto_20160224_1026'),
]
operations = [
migrations.AlterField(
model_name='schedule',
name='repeats',
field=models.IntegerField(default=-1, help_text='n = n times, -1 = forever', verbose_name='Repeats'),
),
]