diff --git a/src/storage/Backend.h b/src/storage/Backend.h index ec5cd39f14..23331800e0 100644 --- a/src/storage/Backend.h +++ b/src/storage/Backend.h @@ -104,12 +104,6 @@ public: */ virtual bool IsOpen() = 0; - /** - * Returns whether the backend's connection supports asynchronous commands. - * Defaults to true, but can be overridden by backends. - */ - virtual bool SupportsAsync() { return true; } - protected: // Allow the manager to call Open/Close. friend class storage::Manager; diff --git a/src/storage/storage.bif b/src/storage/storage.bif index a5cf473ae6..ae037378f5 100644 --- a/src/storage/storage.bif +++ b/src/storage/storage.bif @@ -8,11 +8,6 @@ using namespace zeek; using namespace zeek::storage; static zeek::detail::trigger::TriggerPtr init_trigger(zeek::detail::Frame* frame, const BackendPtr& b) { - if ( ! b->SupportsAsync() ) { - emit_builtin_error("Async mode requested but backend does not support async operations"); - return nullptr; - } - auto trigger = frame->GetTrigger(); if ( ! trigger ) {