asynchronous call with restkit

141 views
Skip to first unread message

Adam Cox

unread,
Jan 10, 2013, 1:22:53 PM1/10/13
to couch...@googlegroups.com
Hi all.

I was unable to find this information in the documentation / API. 

Is it possible to send a request with restkit but not wait around for the results?  I need to perform some cleanup on the database when my job is about to be killed (I'm given a SIGXCPU warning shot and then have less than a minute to clean up any database stuff...).   I don't want to wait around for the response from the couchdb PUT so I can make as many calls to the database as fast as possible. 

thanks,
Adam

Benoit Chesneau

unread,
Jan 10, 2013, 5:26:40 PM1/10/13
to couch...@googlegroups.com
currently you can have support for gevent &libevent backend. See the example code for that. Also there is some doc in the couchdbkit.org website.

- benoît

--
You received this message because you are subscribed to the Google Groups "couchdbkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/couchdbkit/-/8SfCIHOg6wMJ.
To post to this group, send email to couch...@googlegroups.com.
To unsubscribe from this group, send email to couchdbkit+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/couchdbkit?hl=en.

Reply all
Reply to author
Forward
0 new messages