mirror of
https://github.com/alibaba/higress.git
synced 2026-05-31 08:07:26 +08:00
fix RegisteTickFunc (#2787)
This commit is contained in:
@@ -14,5 +14,5 @@ export {SetCtx,
|
||||
ProcessRequestHeadersBy,
|
||||
ProcessResponseBodyBy,
|
||||
ProcessResponseHeadersBy,
|
||||
Logger, RegisteTickFunc} from "./plugin_wrapper"
|
||||
Logger, RegisterTickFunc} from "./plugin_wrapper"
|
||||
export {ParseResult} from "./rule_matcher"
|
||||
@@ -156,7 +156,7 @@ class TickFuncEntry {
|
||||
|
||||
var globalOnTickFuncs = new Array<TickFuncEntry>();
|
||||
|
||||
export function RegisteTickFunc(tickPeriod: i64, tickFunc: () => void): void {
|
||||
export function RegisterTickFunc(tickPeriod: i64, tickFunc: () => void): void {
|
||||
globalOnTickFuncs.push(new TickFuncEntry(0, tickPeriod, tickFunc));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user