Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some record was automatically added to every data base when I start program #83

Open
patom2000 opened this issue Sep 24, 2022 · 2 comments

Comments

@patom2000
Copy link

image
when I start program, records in the picture are added to evey database. Have you ever met this bug?
this is my database init code
image

@jpjpjp
Copy link
Collaborator

jpjpjp commented Sep 28, 2022

Hi @patom2000, I'm not sure that I understand what is happening. Is there any chance you could join the "Webex Node Bot Framework" space on Webex to provide some more detail and potentially get some help from the community?

One question I might ask. Are you using the mongo store that comes with the framework or did you build a custom storage adapter. (It seems like it is the out-of-the-box one, but I wanted to confirm).

Also, can you provide an example of what is being written to the databases? Does it seem to be happening during initialization?

@patom2000
Copy link
Author

patom2000 commented Sep 28, 2022

the data is records of space id that bot join.

and yes. I mix it with mongo official module to read whole data in collection. but I think this is not problem because first time I think it happen during init after I try to find the origin of the problem.there are two assumption that may be affect to it.

  1. happend when datastore use recall function and not found id many times in a row because it affect only database that i try to recall.
  2. restart framework too often becasuse it always show this warning before init framework
    image

Do you think opening framework in many place with same key affect this issue beacause i stop program other place, before I try to trigger it and this issue is not happen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants