Merge pull request 'Less WS logging + use logger for meilisearch' (#10234) from PrivateGER/calckey:fix/remove-console-logs into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10234
This commit is contained in:
commit
831abc22d0
|
@ -258,7 +258,7 @@ export default hasConfig
|
||||||
primaryKey: "id",
|
primaryKey: "id",
|
||||||
})
|
})
|
||||||
.then(() =>
|
.then(() =>
|
||||||
console.log(`sent ${indexingBatch.length} posts for indexing`),
|
logger.info(`sent ${indexingBatch.length} posts for indexing`),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
serverStats: async () => {
|
serverStats: async () => {
|
||||||
|
|
|
@ -394,7 +394,6 @@ export default class Connection {
|
||||||
* クライアントにメッセージ送信
|
* クライアントにメッセージ送信
|
||||||
*/
|
*/
|
||||||
public sendMessageToWs(type: string, payload: any) {
|
public sendMessageToWs(type: string, payload: any) {
|
||||||
console.log(payload, this.isMastodonCompatible);
|
|
||||||
if (this.isMastodonCompatible) {
|
if (this.isMastodonCompatible) {
|
||||||
if (payload.type === "note") {
|
if (payload.type === "note") {
|
||||||
this.wsConnection.send(
|
this.wsConnection.send(
|
||||||
|
|
Loading…
Reference in New Issue