parent
e7d30c8eb4
commit
f53cffaeb2
4 changed files with 128 additions and 45 deletions
|
@ -334,7 +334,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
if (data.channel) {
|
||||
this.redisClient.xadd(
|
||||
`channelTimeline:${data.channel.id}`,
|
||||
'MAXLEN', '~', '1000',
|
||||
'MAXLEN', '~', this.config.perChannelMaxNoteCacheCount.toString(),
|
||||
'*',
|
||||
'note', note.id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue