mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-25 09:53:29 +08:00
Refactor: refactor dataflow_service.go and guard nats message re-delivery (#16826)
### Summary 1. refactor dataflow_service.go 2. guard nats message re-delivery 3. support document parse cancelling & re-run
This commit is contained in:
@@ -191,6 +191,11 @@ func (e *infinityEngine) GetType() string {
|
||||
return "infinity"
|
||||
}
|
||||
|
||||
// SupportsPageRank returns false because Infinity does not support pagerank.
|
||||
func (e *infinityEngine) SupportsPageRank() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Ping checks if Infinity is accessible
|
||||
func (e *infinityEngine) Ping(ctx context.Context) error {
|
||||
if e.client == nil || e.client.conn == nil {
|
||||
|
||||
Reference in New Issue
Block a user