public async Task <bool> MinerSyncAsync(string collector, Miner miner, CancellationToken token = default)
        {
            var existing = await _minerService.GetByIdAsync(miner.Id, token);

            if (existing != null && existing.CollectorId != collector)
            {
                return(false);
            }

            miner.CollectorId = collector;
            await _minerService.UpsertAsync(miner, token);

            return(true);
        }