mirror of
https://github.com/aceld/kis-flow.git
synced 2025-01-22 23:20:24 +08:00
commit
dc5d9a3d82
@ -213,6 +213,8 @@ func (pool *kisPool) CaaS(cname string, fname string, mode common.KisMode, c Caa
|
||||
|
||||
// CallConnector 调度 Connector
|
||||
func (pool *kisPool) CallConnector(ctx context.Context, flow Flow, conn Connector, args interface{}) error {
|
||||
pool.cLock.RLock() // 读锁
|
||||
defer pool.cLock.RUnlock()
|
||||
fn := flow.GetThisFunction()
|
||||
fnConf := fn.GetConfig()
|
||||
mode := common.KisMode(fnConf.FMode)
|
||||
|
Loading…
Reference in New Issue
Block a user