MCPcopy
hub / github.com/crowdsecurity/crowdsec / Stop

Method Stop

pkg/longpollclient/client.go:219–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217}
218
219func (c *LongPollClient) Stop() error {
220 c.t.Kill(nil)
221 return nil
222}
223
224func (c *LongPollClient) PullOnce(ctx context.Context, since time.Time) ([]Event, error) {
225 c.logger.Debug("Pulling PAPI once")

Callers 15

ReadFromShardMethod · 0.80
listPollMethod · 0.80
queryRangeMethod · 0.80
ReadyMethod · 0.80
monitorNewFilesMethod · 0.80
tailFileMethod · 0.80
doQueryRangeMethod · 0.80
ReadyMethod · 0.80
testAppSecEngineFunction · 0.80
StartHeartBeatMethod · 0.80
watchPluginTickerMethod · 0.80
LeakRoutineMethod · 0.80

Calls 1

KillMethod · 0.80

Tested by 1

testAppSecEngineFunction · 0.64