-
Notifications
You must be signed in to change notification settings - Fork 28
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
update method issue #50
Comments
@lucianboboc I am unable to recreate your failure. This is what I tried:
import PackageDescription
let package = Package(
name: "CouchDB_50",
dependencies: [
.Package(url: "https://github.com/IBM-Swift/Kitura-CouchDB.git", majorVersion: 1, minor: 4),
])
I then get the following output:
I will also point out that I tried running |
Hi @shmuelk, Thank you for your message.
Have you tried to run in Xcode? |
What version of Kitura-CouchDB are you using? |
I'm using package 1.4 |
I ran
Again your program seems to work for me. Can you try closing the Apache CouchDB 2.0 app for macOS, when you run the test? |
@shmuelk that was it, seems if i have the couchDB mac app open the update method will never be called and program doesn't end. |
I have an issue with the db.update method, it is never called if it is inside another db closure.
If i retrieve an object from the db with an id, update it and call db.update the update's callback method is never called.
Also, my mac freezed and when i took a look at the swapped memory, it was a few dozens gb, check the attached image.
I have created a gist for this: https://gist.github.com/lucianboboc/24a95fbc7234dbada8b80b1df23ffe2a
The text was updated successfully, but these errors were encountered: