This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
#もこきーアドカレ
12/1 〜 12/25の間ハッシュタグをつけて何かを投稿して下さい
誰かと被ってもいいですが毎日誰かが何かを投稿して下さい
一人で何日もやっても構いません
最近はこれ使ってる
2ヶ月前までの反応0で再取得可能なリモート投稿を300件ずつ消してlogに出すやつに合計削除予定件数表示をプラスしたやつ
DO $$
DECLARE
deleted_count INT;
total_deleted INT := 0;
total_to_delete INT;
BEGIN
-- 削除対象となる合計の件数を取得
SELECT COUNT(id) INTO total_to_delete FROM note
WHERE "createdAt" < (current_date - interval '2 months')
AND "renoteCount" = 0
AND "repliesCount" = 0
AND "reactions" = '{}'
AND ( "visibility" = 'public' OR "visibility" = 'home' )
AND "userHost" IS NOT NULL;
RAISE NOTICE 'Total rows to delete: %', total_to_delete;
LOOP
DELETE FROM note
WHERE id IN (
SELECT id FROM note
WHERE "createdAt" < (current_date - interval '2 months')
AND "renoteCount" = 0
AND "repliesCount" = 0
AND "reactions" = '{}'
AND ( "visibility" = 'public' OR "visibility" = 'home' )
AND "userHost" IS NOT NULL
LIMIT 300
);
GET DIAGNOSTICS deleted_count = ROW_COUNT;
EXIT WHEN deleted_count = 0;
total_deleted := total_deleted + deleted_count;
-- 進捗をログに出力
RAISE NOTICE 'Progress: %/%', total_deleted, total_to_delete;
END LOOP;
END $$
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
あとほとんどの場所でリプライの出現法則がホーム/ソーシャルと同じになった(お互いフォローしている人同士でやり取りしているリプライが表示される)
あーじゃあそのへんの挙動は変わってるか
返信全部表示をオンにした時にLTLからはリモートへの返信は出なくなりました
This account is not set to public on notestock.
This account is not set to public on notestock.