mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-08-03 17:54:38 +02:00
default backup_interval reduced to 0
This commit is contained in:
parent
3a429aa58b
commit
931a047d09
2 changed files with 19 additions and 1 deletions
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 5.0.7 on 2024-07-09 19:06
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('backup', '0007_backupprofile_profile_error_information'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='backupprofile',
|
||||||
|
name='backup_interval',
|
||||||
|
field=models.IntegerField(choices=[(0, 'No interval'), (5, '5 seconds'), (60, '1 minute')], default=0),
|
||||||
|
),
|
||||||
|
]
|
|
@ -41,7 +41,7 @@ class BackupProfile(models.Model):
|
||||||
max_retry = models.IntegerField(default=3, choices=((1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5')))
|
max_retry = models.IntegerField(default=3, choices=((1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5')))
|
||||||
retry_interval = models.IntegerField(default=30, choices=((1, '1 Minute'), (15, '15 Minutes'), (30, '30 Minutes'), (60, '1 Hour')))
|
retry_interval = models.IntegerField(default=30, choices=((1, '1 Minute'), (15, '15 Minutes'), (30, '30 Minutes'), (60, '1 Hour')))
|
||||||
retrieve_interval = models.IntegerField(default=60, choices=((15, '15 Seconds'), (30, '30 Seconds'), (60, '1 Minute'), (900, '15 Minutes'), (1800, '30 Minutes'), (3600, '1 Hour')))
|
retrieve_interval = models.IntegerField(default=60, choices=((15, '15 Seconds'), (30, '30 Seconds'), (60, '1 Minute'), (900, '15 Minutes'), (1800, '30 Minutes'), (3600, '1 Hour')))
|
||||||
backup_interval = models.IntegerField(default=60, choices=((0, 'No interval'), (5, '5 seconds'), (60, '1 minute')))
|
backup_interval = models.IntegerField(default=0, choices=((0, 'No interval'), (5, '5 seconds'), (60, '1 minute')))
|
||||||
|
|
||||||
profile_error_information = models.CharField(max_length=100, blank=True, null=True)
|
profile_error_information = models.CharField(max_length=100, blank=True, null=True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue