UBERF-6374: Improve server logging and improve startup performance (#5210)

This commit is contained in:
Andrey Sobolev
2024-04-06 15:14:06 +07:00
committed by GitHub
parent ceac67f3a3
commit 034700a65b
39 changed files with 631 additions and 405 deletions
+3 -2
View File
@@ -13,7 +13,7 @@
// limitations under the License.
//
import type { AccountClient, ClientConnectEvent, TxPersistenceStore } from '@hcengineering/core'
import type { AccountClient, ClientConnectEvent, MeasureContext, TxPersistenceStore } from '@hcengineering/core'
import type { Plugin, Resource } from '@hcengineering/platform'
import { Metadata, plugin } from '@hcengineering/platform'
@@ -66,7 +66,8 @@ export type ClientFactory = (
endpoint: string,
onUpgrade?: () => void,
onUnauthorized?: () => void,
onConnect?: (event: ClientConnectEvent) => void
onConnect?: (event: ClientConnectEvent) => void,
ctx?: MeasureContext
) => Promise<AccountClient>
export default plugin(clientId, {