mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-19 03:52:52 +09:00
Less logging of every single WS message + use logger in Meilisearch
This commit is contained in:
parent
91616081c2
commit
badbecfe60
@ -258,7 +258,7 @@ export default hasConfig
|
||||
primaryKey: "id",
|
||||
})
|
||||
.then(() =>
|
||||
console.log(`sent ${indexingBatch.length} posts for indexing`),
|
||||
logger.info(`sent ${indexingBatch.length} posts for indexing`),
|
||||
);
|
||||
},
|
||||
serverStats: async () => {
|
||||
|
@ -394,7 +394,6 @@ export default class Connection {
|
||||
* クライアントにメッセージ送信
|
||||
*/
|
||||
public sendMessageToWs(type: string, payload: any) {
|
||||
console.log(payload, this.isMastodonCompatible);
|
||||
if (this.isMastodonCompatible) {
|
||||
if (payload.type === "note") {
|
||||
this.wsConnection.send(
|
||||
|
Loading…
Reference in New Issue
Block a user