Loading db.sqlite3-journaldeleted 100644 → 0 −175 KiB File deleted. View file opds_catalog/management/commands/sopds_scanner.py +1 −2 Original line number Diff line number Diff line Loading @@ -63,7 +63,6 @@ class Command(BaseCommand): def scan(self): scanner=opdsScanner(self.logger) with transaction.atomic(): scanner.scan_all() Counter.objects.update_known_counters() Loading opds_catalog/sopdscan.py +3 −1 Original line number Diff line number Diff line Loading @@ -76,6 +76,8 @@ class opdsScanner: self.zip_file = None self.rel_path = None opdsdb.set_autocommit(not settings.SINGLE_COMMIT) opdsdb.avail_check_prepare() if not settings.SINGLE_COMMIT: Loading sopds/settings.py +5 −5 Original line number Diff line number Diff line Loading @@ -92,11 +92,11 @@ WSGI_APPLICATION = 'sopds.wsgi.application' # 'USER': 'sopds', # 'PASSWORD' : 'sopds', # 'OPTIONS' : { # 'init_command': """SET default_storage_engine=INNODB, # SET sql_mode='STRICT_TRANS_TABLES', # SET NAMES UTF8, # SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED # """, # 'init_command': """SET default_storage_engine=INNODB; \ # SET sql_mode='STRICT_TRANS_TABLES'; \ # SET NAMES UTF8; \ # SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED # """ # } # } #} Loading Loading
opds_catalog/management/commands/sopds_scanner.py +1 −2 Original line number Diff line number Diff line Loading @@ -63,7 +63,6 @@ class Command(BaseCommand): def scan(self): scanner=opdsScanner(self.logger) with transaction.atomic(): scanner.scan_all() Counter.objects.update_known_counters() Loading
opds_catalog/sopdscan.py +3 −1 Original line number Diff line number Diff line Loading @@ -76,6 +76,8 @@ class opdsScanner: self.zip_file = None self.rel_path = None opdsdb.set_autocommit(not settings.SINGLE_COMMIT) opdsdb.avail_check_prepare() if not settings.SINGLE_COMMIT: Loading
sopds/settings.py +5 −5 Original line number Diff line number Diff line Loading @@ -92,11 +92,11 @@ WSGI_APPLICATION = 'sopds.wsgi.application' # 'USER': 'sopds', # 'PASSWORD' : 'sopds', # 'OPTIONS' : { # 'init_command': """SET default_storage_engine=INNODB, # SET sql_mode='STRICT_TRANS_TABLES', # SET NAMES UTF8, # SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED # """, # 'init_command': """SET default_storage_engine=INNODB; \ # SET sql_mode='STRICT_TRANS_TABLES'; \ # SET NAMES UTF8; \ # SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED # """ # } # } #} Loading