Skip to content

Commit cb9d94a

Browse files
authored
Merge pull request ceph#60168 from yuvalif/wip-yuval-68336
test/rgw/lua: use stats polling instead of sleep
2 parents 427c30b + 984a76f commit cb9d94a

File tree

2 files changed

+117
-66
lines changed

2 files changed

+117
-66
lines changed

src/rgw/rgw_lua_background.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ class Background : public RGWRealmReloader::Pauser {
153153

154154
void run();
155155

156-
protected:
157156
std::string rgw_script;
158-
virtual int read_script();
157+
int read_script();
159158

160159
public:
161160
Background(rgw::sal::Driver* _driver,
@@ -173,7 +172,7 @@ class Background : public RGWRealmReloader::Pauser {
173172
std::unique_lock cond_lock(table_mutex);
174173
rgw_map[key] = value;
175174
}
176-
175+
177176
// update the manager after
178177
void set_manager(rgw::sal::LuaManager* _lua_manager);
179178
void pause() override;

0 commit comments

Comments
 (0)