mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Fix weird bug where CPU jumps and stays to 100%
Seems related to lazy import of custom-jsonld-signature So we refactored jsonld function calls a little bit
This commit is contained in:
parent
f93bc6a8be
commit
b017d4d02f
5 changed files with 108 additions and 105 deletions
|
@ -1,6 +1,7 @@
|
|||
import { ContextType } from '@peertube/peertube-models'
|
||||
import { ACTIVITY_PUB } from '@server/initializers/constants.js'
|
||||
import { buildDigest, signJsonLDObject } from './peertube-crypto.js'
|
||||
import { buildDigest } from './peertube-crypto.js'
|
||||
import type { signJsonLDObject } from './peertube-jsonld.js'
|
||||
|
||||
export type ContextFilter = <T> (arg: T) => Promise<T>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue