Comments (4)
Checkout your Internet uplink, remove unused code that may increase your task working time.
from line-py.
easier said than done :) unused code shouldnt increase the task working time no? but basically you are telling me that i need to remove some validation code the process dont really need to work? Sorry im more a database programmer than a web programmer and i never did the part where i got to connect so i'm mostly trying to figure it out.
Most of my chatbot is database related so it work nice and easily keep info but i just have that slow answer problem :P
This week ill look how i can remove the handshake process like you talk about in some other thread and will continue to look for what can be removed :)
from line-py.
It probably your long polling, sometimes LINE kinda buggy (like there's already new Op, but long polling not emitted new one, or it just like... died socket). Oh ya one thing, LINE didn't actually handshake https like you'll understand this uri scheme [:proto]://[:host][:ssl_proto_default_port]/[:uri] (gist code)
from line-py.
@anysz i thought that the long polling was the action(events) received?..... because that part is really quick.
I wanted to add stuff to my bot before looking more about that. im gonna time every part and look for what slow it down lol.
i read what you were talking about going into http or the point that the https wasn't always connected so it was slowing thing down so ill look into it.
if i can ask you something else.... do you have any idea how the bot could download an image sent by an other user?
i managed kick/protection/ban/tagall/sending image (really really slow cause of the same issue here) lots of other stuff linking the bot with my db but cant manage to download an image sent by a user lol
from line-py.
Related Issues (20)
- Need Help to Log-In
- No message text from small groups
- token HOT 5
- I can not stamp the timeline
- Question.... really sorry about that...
- PreviousMessage command...
- after 12-15h of running nothing happend HOT 5
- Your LINE account is not support Square
- Account is broken after using API HOT 8
- . HOT 1
- Only 1 bot reading HOT 4
- My account is blocked? HOT 1
- Linepy get my accounts block...
- Current version may cause ur line get blocked!!!! HOT 3
- Please aware, using this will block your account
- updateSettings()
- cannot login using token
- 連線失敗
- OEPOLL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from line-py.