mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-06 09:47:43 +02:00
UBERF-6374: Improve server logging and improve startup performance (#5210)
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user