.. include:: /Includes.rst.txt .. _feature-1793044354: =============================================== Feature: The import handles its messages itself =============================================== Description =========== While a migration run is active, every message the import causes is handled in the process of the import instead of being put on a queue: the recalculated attendance days, the account bookings, the working time violations, the lateness incidents and the leave effects, including the messages their handlers publish. A message that implements the new marker ``MigrationNotification`` is the exception and still waits on its queue for the workers; these are the messages the migration sends on purpose to tell a person something, such as the notification about a clock-out the import cut. Impact ====== A full import no longer leaves some hundred thousand messages for the workers. Balances, leave days and attendance days are final when ``run-all`` or ``delta`` ends, and no worker competes with the import for the same rows. .. index:: Migration, Messenger, package:adsum-migration