Skip to content

Commit 267f93f

Browse files
committed
Merge branch 'landing/4205' into upstream-master
Land rapid7#4205 * Remove unused Msf::DBManager::Sink * Part of improvements to thread management
2 parents fff36f5 + 8249ef6 commit 267f93f

File tree

6 files changed

+0
-384
lines changed

6 files changed

+0
-384
lines changed

lib/msf/core/db_manager.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
require 'msf/core/db_import_error'
1818
require 'msf/core/host_state'
1919
require 'msf/core/service_state'
20-
require 'msf/core/task_manager'
2120

2221
# The db module provides persistent storage and events. This class should be instantiated LAST
2322
# as the active_suppport library overrides Kernel.require, slowing down all future code loads.
@@ -47,7 +46,6 @@ class Msf::DBManager
4746
autoload :Service, 'msf/core/db_manager/service'
4847
autoload :Session, 'msf/core/db_manager/session'
4948
autoload :SessionEvent, 'msf/core/db_manager/session_event'
50-
autoload :Sink, 'msf/core/db_manager/sink'
5149
autoload :Task, 'msf/core/db_manager/task'
5250
autoload :Vuln, 'msf/core/db_manager/vuln'
5351
autoload :VulnAttempt, 'msf/core/db_manager/vuln_attempt'
@@ -80,7 +78,6 @@ class Msf::DBManager
8078
include Msf::DBManager::Service
8179
include Msf::DBManager::Session
8280
include Msf::DBManager::SessionEvent
83-
include Msf::DBManager::Sink
8481
include Msf::DBManager::Task
8582
include Msf::DBManager::Vuln
8683
include Msf::DBManager::VulnAttempt
@@ -160,11 +157,6 @@ def initialize_database_support
160157
#
161158
initialize_adapter
162159

163-
#
164-
# Instantiate the database sink
165-
#
166-
initialize_sink
167-
168160
true
169161
end
170162

lib/msf/core/db_manager/sink.rb

Lines changed: 0 additions & 34 deletions
This file was deleted.

lib/msf/core/task_manager.rb

Lines changed: 0 additions & 238 deletions
This file was deleted.

0 commit comments

Comments
 (0)