.. include:: /Includes.rst.txt .. _task-1793003930: ============================================================== Task: The import warns in debug mode and forgets its query log ============================================================== Description =========== A kernel in debug mode remembers every query it sends. In a long import that made the process grow to several gigabytes. ``app:migration:horilla:import``, ``run-all`` and ``delta`` now warn when the kernel runs in debug mode, and the stage runner clears the remembered queries and timings after each batch. The installation guide says to run the import with ``APP_ENV=prod`` or ``--no-debug``. Impact ====== Nothing changes for a kernel without debug mode. In debug mode an import keeps a flat memory use and shows the warning. .. index:: Migration, package:adsum-migration