Skip to content

Commit f33eaa1

Browse files
committed
stash changes
1 parent 903c050 commit f33eaa1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/src/routers/filesystem_api/fs_tree_manager/fetch_replica.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const { Context } = require('../../../util/context');
2727
module.exports = {
2828
event: 'replica/fetch',
2929
handler: async (socket, _data) => {
30-
console.log('[xiaochen-debug] fetch_replica.handler, socket:', socket);
30+
console.log('[xiaochen-debug] fetch_replica.handler, socket.user.id:', socket.user.id);
3131

3232
// const svc_permission = Context.get('services').get('permission');
3333
// const can_access = await svc_permission.check('endpoint:replica/fetch');
@@ -45,7 +45,7 @@ module.exports = {
4545
} = require('./common');
4646

4747
const client = getClient();
48-
if (!client) {
48+
if ( !client ) {
4949
// Client-replica service is not available
5050
return socket.emit('replica/fetch/error', {
5151
success: false,
@@ -58,7 +58,7 @@ module.exports = {
5858
requestMsg.setUserId(socket.user.id);
5959

6060
client.fetchReplica(requestMsg, (err, resp) => {
61-
if (err) {
61+
if ( err ) {
6262
console.error(`FetchReplica error: ${err.message}`);
6363
return socket.emit('replica/fetch/error', {
6464
success: false,

tests/ci/playwright-test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def run():
203203
work_dir=f"{PUTER_ROOT}/src/fs_tree_manager",
204204
log_path="/tmp/fs-tree-manager.log",
205205
)
206-
time.sleep(10)
206+
time.sleep(20)
207207

208208
# =========================================================================
209209
# run the test

0 commit comments

Comments
 (0)