Skip to content

Commit a4f2870

Browse files
A small fix
Fix of .drone.jsonnet
1 parent 5dd929f commit a4f2870

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.drone.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ local Pipeline(branch, platform, event, arch='amd64', server='10.6-enterprise')
693693
SCCACHE_BUCKET: 'cs-sccache',
694694
SCCACHE_REGION: 'us-east-1',
695695
SCCACHE_S3_USE_SSL: 'true',
696-
SCCACHE_S3_KEY_PREFIX: branch + server + arch + '${DRONE_PULL_REQUEST}',
696+
SCCACHE_S3_KEY_PREFIX: result + branch + server + arch + '${DRONE_PULL_REQUEST}',
697697
//SCCACHE_ERROR_LOG: '/tmp/sccache_log.txt',
698698
//SCCACHE_LOG: 'debug',
699699
},

writeengine/client/we_clients.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,10 @@ void WEClients::write(const messageqcpp::ByteStream& msg, uint32_t connection)
501501
fPmConnections[connection]->write(msg);
502502
else
503503
{
504-
ostringstream os;
505-
os << "Lost connection to WriteEngineServer on pm" << connection;
506-
throw runtime_error(os.str());
504+
// new behavior: connection client is nullptr means it is read-only.
505+
// ostringstream os;
506+
// os << "Lost connection to WriteEngineServer on pm" << connection;
507+
// throw runtime_error(os.str());
507508
}
508509
}
509510

0 commit comments

Comments
 (0)