enhance(backend): RedisへのTLのキャッシュをオフにできるように
This commit is contained in:
parent
5a39c1a8eb
commit
e6c54de814
14 changed files with 515 additions and 371 deletions
|
@ -825,6 +825,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
@bindThis
|
||||
private async pushToTl(note: MiNote, user: { id: MiUser['id']; host: MiUser['host']; }) {
|
||||
const meta = await this.metaService.fetch();
|
||||
if (!meta.enableFanoutTimeline) return;
|
||||
|
||||
const r = this.redisForTimelines.pipeline();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue