Update index.ts
This commit is contained in:
parent
8823ae7e85
commit
3968ed707b
@ -17,7 +17,8 @@ const ev = new Xev();
|
|||||||
/**
|
/**
|
||||||
* Init process
|
* Init process
|
||||||
*/
|
*/
|
||||||
export default async function() {
|
// eslint-disable-next-line import/no-default-export
|
||||||
|
export default async function(): Promise<void> {
|
||||||
process.title = `Misskey (${cluster.isMaster ? 'master' : 'worker'})`;
|
process.title = `Misskey (${cluster.isMaster ? 'master' : 'worker'})`;
|
||||||
|
|
||||||
if (cluster.isMaster || program.disableClustering) {
|
if (cluster.isMaster || program.disableClustering) {
|
||||||
|
Loading…
Reference in New Issue
Block a user