almost ready
This commit is contained in:
23
BlueLaminate/BlueLaminate.EFCore/Entities/SweepSource.cs
Normal file
23
BlueLaminate/BlueLaminate.EFCore/Entities/SweepSource.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace BlueLaminate.EFCore.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// Canonical site identifiers for per-site sweep checkpoints — the <c>Source</c>
|
||||
/// discriminator on <see cref="SkinSweep"/> and <see cref="SkinConditionSweep"/>.
|
||||
/// Each marketplace sweeper stamps its own checkpoint under one of these, so a band
|
||||
/// swept on one site is still "never swept" on another.
|
||||
/// <para>
|
||||
/// To add sweeping for a new marketplace, add one constant here and have that
|
||||
/// sweeper read/stamp checkpoints with it — no schema or query changes needed.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static class SweepSource
|
||||
{
|
||||
/// <summary>CSFloat catalogue-driven sweep (<c>ListingSweepService.SweepCatalogAsync</c>).</summary>
|
||||
public const string CsFloatCatalog = "listings-catalog";
|
||||
|
||||
/// <summary>cs.money worker sweep (<c>CsMoneyIngestService</c>).</summary>
|
||||
public const string CsMoney = "csmoney";
|
||||
|
||||
/// <summary>skin.land worker sweep (<c>SkinLandIngestService</c>).</summary>
|
||||
public const string SkinLand = "skinland";
|
||||
}
|
||||
Reference in New Issue
Block a user