'Add stats for this worker\'s run to recon cache.
When in worker mode (per_disk_stats == True) this worker\'s stats are
added per device instead of in the top level keys (aggregation is
serialized in the parent process).
:param total: the runtime of cycle in minutes
:param override_devices: (optional) list of device that are being
reconstructed'

def final_recon_dump(self, total, override_devices=None, **kwargs):

    recon_update = {'object_reconstruction_time': total, 'object_reconstruction_last': time.time()}
    if (self.reconstructor_workers > 0):
        devices = (override_devices or self.all_local_devices)
        recon_update['pid'] = os.getpid()
        recon_update = {'object_reconstruction_per_disk': {d: recon_update for d in devices}}
    else:
        recon_update['object_reconstruction_per_disk'] = {}
    dump_recon_cache(recon_update, self.rcache, self.logger)
