tagged [timeout]
How to sleep for five seconds in a batch file/cmd
How to sleep for five seconds in a batch file/cmd Windows's Snipping tool can capture the screen, but sometimes I want to capture the screen after five seconds, such as taking an image being displayed...
- Modified
- 15 Jun at 15:51
MySQL Workbench: How to keep the connection alive
MySQL Workbench: How to keep the connection alive I am using MySQL Workbench. Also, I am running a batch of inserts, about 1000 lines total (Ex. `INSERT INTO mytable SELECT * FROM mysource1; INSERT IN...
- Modified
- 30 Mar at 03:16
Whats the difference between HttpClient.Timeout and using the WebRequestHandler timeout properties?
Whats the difference between HttpClient.Timeout and using the WebRequestHandler timeout properties? I can set the timeout of my `HttpClient` object directly with `HttpClient.Timeout` but I've recently...
- Modified
- 11 Oct at 09:56
ServiceStack.net Session End Event or Callback?
ServiceStack.net Session End Event or Callback? I'm using ServiceStack.Net with authentication and am using a custom session, all working great. I'd like to know if there is an event or callback, over...
- Modified
- 1 Oct at 13:35
Set timeout to an operation
Set timeout to an operation I have object `obj` which is 3rd party component, I don't know what is happening inside. What I know is if it take longer time, it is failed. how to setup a timeout mechani...
- Modified
- 15 Feb at 12:21
javascript: pause setTimeout();
javascript: pause setTimeout(); If I have an active timeout running that was set through Is there anyway to pause and resume it? Is there any way to get the time remaining on the current timeout? or d...
- Modified
- 22 Feb at 17:55
When to use TcpClient.ReceiveTimeout vs. NetworkStream.ReadTimeout?
When to use TcpClient.ReceiveTimeout vs. NetworkStream.ReadTimeout? When programming a TCP server I would like to set the timeout period for reading the request from the client: See the last two lines...
ServiceStack Timeout - ASP.NET executionTimeout
ServiceStack Timeout - ASP.NET executionTimeout I'm using ServiceStack's JsonServiceClient but I've seen that despite setting the client timeout, the HTTP call still goes wrong after a certain period ...
- Modified
- 12 Jan at 17:31
Set Command Timeout in entity framework 4.3
Set Command Timeout in entity framework 4.3 I cannot find the a way to set the command timeout of a linq query using entity framework 4.3 and its' DbContext. How do I increase Commandtimeout in entity...
- Modified
- 31 Jul at 20:17
How to modify the nodejs request default timeout time?
How to modify the nodejs request default timeout time? I'm using a Node/express server. The default timeout of express is 120,000 ms, but it is not enough for me. When my response reaches 120,000 ms, ...
connection timeout property in connection string ignored
connection timeout property in connection string ignored I'm building an app in C#. I'm using a connection string like: But no matter what value I set as `x` (`Connection Timeout = x`), by putting a b...
- Modified
- 15 Feb at 12:9
php timeout - set_time_limit(0); - don't work
php timeout - set_time_limit(0); - don't work I'm having a problem with my PHP file that takes more than 30 seconds to execute. After searching, I added `set_time_limit(0);` at the start of the code,c...
Simple timeout in java
Simple timeout in java Can anyone guide me on how I can use a simple timeout in java? Basically in my project I'm executing a statement `br.readLine()`, which is reading a response from a modem. But s...
- Modified
- 18 Oct at 18:26
set session timeout in ServiceStack?
set session timeout in ServiceStack? I'm attempting to use the new ServiceStack session feature. I've read through the help page, but I don't see anywhere that you configure the timeout (aka, the expi...
- Modified
- 6 Sep at 22:32
"Update-Database" command fails with TimeOut exception
"Update-Database" command fails with TimeOut exception I'm using EF migrations and have a table with a lot of data. I need to change MaxLength of a concrete column (it hadn't length constraints). And ...
- Modified
- 1 Sep at 11:36
SqlCommand object, what length of time for CommandTimeout?
SqlCommand object, what length of time for CommandTimeout? How do I decide what length of time to use as a timeout when using an SqlCommand object? On parts of the code I'm working on (written by some...
- Modified
- 11 Aug at 10:24
ssh server connect to host xxx port 22: Connection timed out on linux-ubuntu
ssh server connect to host xxx port 22: Connection timed out on linux-ubuntu I am trying to connect to remote server via ssh but getting connection timeout. I ran the following command and getting...
- Modified
- 11 Jul at 06:37
Terminating idle mysql connections
Terminating idle mysql connections I see a lot of connections are open and remain idle for a long time, say 5 minutes. Is there any solution to terminate / close it from server without restarting the ...
- Modified
- 26 Nov at 23:8
How to handle ETIMEDOUT error?
How to handle ETIMEDOUT error? How to handle etimedout error on this call ? ``` var remotePath = "myremoteurltocopy" var localStream = fs.createWriteStream("myfil");; var out = request({ uri: remo...
- Modified
- 20 Mar at 00:46
Adjusting CommandTimeout in Dapper.NET?
Adjusting CommandTimeout in Dapper.NET? I'm trying to run SQL backups through a stored procedure through Dapper (the rest of my app uses Dapper so I'd prefer to keep this portion running through it as...
How can I tell when HttpClient has timed out?
How can I tell when HttpClient has timed out? As far as I can tell, there's no way to know that it's specifically a timeout that has occurred. Am I not looking in the right place, or am I missing some...
- Modified
- 20 Jun at 09:12
NHibernate: how to set connection timeout
NHibernate: how to set connection timeout Is there any way to globally setup time you would wait for connecting to a given database, before a connection failure in NHibernate (connection timeout)? In ...
- Modified
- 23 May at 12:2
Waiting for Target Device to Come Online
Waiting for Target Device to Come Online I recently updated to Android Studio 2.3, and now when I try to run the application, the emulator does not come online. It times out after 300 seconds. Additio...
Implement C# Generic Timeout
Implement C# Generic Timeout I am looking for good ideas for implementing a generic way to have a single line (or anonymous delegate) of code execute with a timeout. I'm looking for a solution that ca...
- Modified
- 18 Nov at 16:55
Session timeout in ASP.NET
Session timeout in ASP.NET I am running an ASP.NET 2.0 application in IIS 6.0. I want session timeout to be 60 minutes rather than the default 20 minutes. I have done the following 1. Set in web.confi...