Giter Club home page Giter Club logo

runt's Issues

Add ability to limit concurrent sync connections

I'm trying to use this to sync my GMail account, and I see lots of errors scrolling by of the form:

Sync exited with error: Login failed: (No(No { information: "Too many simultaneous connections. (Failure)", code: Some(Alert) }), Client { conn: Connection { stream: BufStream { inner: BufReader { reader: BufWriter { writer: SslStream { stream: TcpStream { addr: [2601:645:8700:46b8:e246:9aff:fea0:59da]:50676, peer: [2607:f8b0:4023:c06::6c]:993, fd: 46 }, ssl: Ssl { state: "SSL negotiation finished successfully", verify_result: X509VerifyResult { code: 0, error: "ok" } } }, buffer: 0/8192 }, buffer: 0/8192 } }, tag: 1, debug: false, greeting_read: true } })

I'm assuming that GMail limits concurrent connections per account to their IMAP server. It would be great to have a per-account max-connections setting in the config file.

xoauth2 or oauthbearer support

Gmail does not support password authentication any more.

Any ideas on how to implement their oauth-* family of mechs?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.