From ca6b8403026159e84ca9cffd42ec7a37b2057fa4 Mon Sep 17 00:00:00 2001
From: naskya <m@naskya.net>
Date: Thu, 11 Jul 2024 02:35:44 +0900
Subject: [PATCH] chore (backend-rs): add comment on NUMBER_OF_SYSTEM_ACTORS

---
 packages/backend-rs/src/misc/user/count.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/packages/backend-rs/src/misc/user/count.rs b/packages/backend-rs/src/misc/user/count.rs
index bcea6bad9d..77ead16872 100644
--- a/packages/backend-rs/src/misc/user/count.rs
+++ b/packages/backend-rs/src/misc/user/count.rs
@@ -1,6 +1,9 @@
 use crate::{database::db_conn, model::entity::user};
 use sea_orm::prelude::*;
 
+// TODO: When `std::mem::variant_count` is stabilized, use
+// it to count system actors instead of hard coding the magic number
+
 // @instance.actor and @relay.actor are not real users
 const NUMBER_OF_SYSTEM_ACTORS: u64 = 2;