Skip to content

"In offline mode, executing BriefcaseConnection.openFile is very slow and causes the program to lag." #6592

Answered by jiaruiz717
jh9636 asked this question in Q&A
Discussion options

You must be logged in to vote

@jh9636 We had a group discussion about it, this issue arises from cloudContainer.checkForChanges(); To get rid of it, we have the following suggestion:

  • Navigate to itwin/core-backend in your node_modules and find /lib/cjs/assets/Settings folder, if you use pnpm then the path may look something like \node_modules\.pnpm\@itwin+core-backend@4.4.6_@itwin+core-bentley@4.4.6_@itwin+core-common@4.4.6_@itwin+core-geometry@4.4.6\node_modules\@itwin\core-backend\lib\cjs\assets\Settings\backend.setting.json5
  • Find and open backend.setting.json5, add "syncOnConnect": false to cloud/containers"
cloud/containers": [
    {
      "name": "gcs/container",
      "baseUri": "https://geocoord-workspace.itw…

Replies: 7 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@jh9636
Comment options

Comment options

You must be logged in to vote
6 replies
@MichaelBelousov
Comment options

@nick4598
Comment options

@kabentley
Comment options

@nick4598
Comment options

@jh9636
Comment options

Comment options

You must be logged in to vote
1 reply
@jh9636
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jh9636
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jh9636
Comment options

@JoanaSmit
Comment options

Answer selected by jh9636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants