diff options
Diffstat (limited to 'cpp/src/IceGrid/ServerAdapterI.cpp')
-rw-r--r-- | cpp/src/IceGrid/ServerAdapterI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ServerAdapterI.cpp b/cpp/src/IceGrid/ServerAdapterI.cpp index c695e0efe9e..5ae4619e327 100644 --- a/cpp/src/IceGrid/ServerAdapterI.cpp +++ b/cpp/src/IceGrid/ServerAdapterI.cpp @@ -105,7 +105,7 @@ ServerAdapterI::getDirectProxy(const Ice::Current& current) const { AdapterNotActiveException ex; ServerState state = _server->getState(); - ex.activatable = _server->getActivationMode() == ServerI::OnDemand || state == Activating || state == Active; + ex.activatable = _server->canActivateOnDemand() || state == Activating || state == Active; ex.timeout = static_cast<int>(_waitTime.toMilliSeconds()); throw ex; } |