Displaying 20 results from an estimated 4000 matches similar to: "how to time out a query"
2009 Oct 14
2
How to configure every (postgresql) db connection?
I would like to set some db session variables specific to my
application on the database connection that rails uses. They can be
set by issuing an SQL command like "SET statement_timeout = 1000"
once - it will be in effect for every subsequent SQL statement that
uses this connection.
So I tried to put the following into an initializer:
ActiveRecord::Base.connection.execute("SET
2010 Oct 19
1
Milliseconds and Time object
Hello all,
my question for today is the following :
I have
1. a date (in a string but straightforward to convert to any format)
2. the time as the number of milliseconds elapsed since hour 00:00:00.000 of
this date.
My question is :
1. Is there a in built function that can give me the date+time (as POSIX
object for instance) from what I have ?
--
View this message in context:
2006 Jul 28
3
Private Interconnect and self fencing
I have an OCFS2 filesystem on a coraid AOE device.
It mounts fine, but with heavy I/O the server self fences claiming a
write timeout:
(16,2):o2hb_write_timeout:164 ERROR: Heartbeat write timeout to device
etherd/e0.1p1 after 12000 milliseconds
(16,2):o2hb_stop_all_regions:1789 ERROR: stopping heartbeat on all
active regions.
Kernel panic - not syncing: ocfs2 is very sorry to be fencing this
2011 May 05
5
May 05 07:20:21 imap: Warning: Time jumped forwards 16 seconds
Hello
I get this warning in dovecot.log
the machine is running ntpd so this is
a bit strange ...
2009 Jan 22
2
time date stamp since, january 1st 1970
Hello, we are receiving some data, sample below - with a weird time/date
stamp format, we need some help with R on converting this time date
stamp to a useable field in R, date and time in a data-frame. The
developer says its the number of milliseconds since midnight, January 1,
1970.
sample: *1232558018624*
---------------------
How do I interpret the time stamp? Is there a date, i need
2003 Dec 30
3
SIP phone as intercom
(new asterisk user - currently setting up Polycom IP600 phones)
Does anyone know if it's possible to make a sip phone instantly pick up
on speakerphone when a particular call comes in? Eg so that you can
quickly bother someone across the office without making them reach for
their phone?
2002 Nov 07
2
Could someone help me understand htb queuening
Hi anyone
I try to use htb and got some strange situation
My hbt config is root htb with default to 999 class
Then I make 2 classes 999 and 998
And make many many (near 60) leafs attached to 998
root
! !
999 998 ---...---> many leafs
root attached to ethernet dotQ subinterface
999 make rate where high (50Mbit) but according to
tc -s class
2004 Nov 22
7
timeDate
what package should I include to use timeDate? I want to convert a
double (num of millis) into date object.
2006 Feb 22
1
Cannot see the caller id , When calls made from one server to another
Hi
I had installed and configured 2 IAX server ,
users from 1'st server can dial to the second server
and vice versa
But when I make calls to users in other
server , on my client , I get the caller if as
asterisk@192.168.20.99 , the same I get when I try
reverse , ie I get on my cleint caller id as
astersik@192.168.20.32
Please guide me what
2007 Aug 19
4
OMRON BX35F
Hi nut-upsdev,
I have just got OMRON BX35F. Only object
files and usage information is included.
Where should I start to help you to get it
supported? Any interest in supporting it at all?
2003 Jun 24
4
cumulative frequency distribution plot
Does R do cumulative frequency distribution plots?
--
Tommy E. Cathey, Senior Scientific Application Consultant
High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA
Research Triangle Park, NC
919-541-1500 EMail: cathey.tommy at epa.gov
My e-mail does not reflect the opinion of SAIC or the EPA.
Federal Contact - John B. Smith
919-541-1087 - smith.johnb at epa.gov
2004 Aug 22
4
Question about htb class
Hi everyone.
I''m new to this list and I have some questions
regarding HTB class.
I was trying to see how tc sets the parameters for
HTB, but really couldnt understand them.
So, I thought that I might ask the wizards.
It''s mainly from the source code.
1. What is the cell_log ?
(its everywhere in the code)
2. Why does htb calculate its burst(buffer) with
tc_xmit_time() ? Is
2014 Sep 06
0
NUT Quit Working [Tripp Lite; USB 3.0]
On Sep 6, 2014, at 4:16 PM, Leslie Rhorer <lrhorer at mygrande.net> wrote:
> Oh, hey! That seems to have worked. I'm sure the UPS got plugged into a different port one of the (many) times the server was removed from the relay rack, and it was on a USB 3.0 port. I moved it to a 1.0 port and everything seems to be working just fine.
The specifics of the motherboard and its USB
2010 Jun 21
4
Failing Routes in deployment
I have an app that has the following in the routes file:
namespace "admin" do
# ADMINISTRATIVE ROUTES ONLY
root :to => ''home#index''
resources :comments do
member do
get :approve
get :reject
end
end
resources :users do
member do
get :block
get :unblock
end
end
end
When browing to
2004 Jul 18
18
Polycom IP 500 Voicemail
Hello All,
I have some Polycom IP 500 phones that I would like to have configured
for direct dialing to our voice mail system. So far I have been unable
to get the hard button labeled Voice Mail to connect to Asterisk without
first passing through the message center prompts. I have followed all
the Admin Guide instructions regarding the phones .cfg files and using
2014 Sep 06
2
NUT Quit Working
On 9/6/2014 12:47 PM, Charles Lepple wrote:
> On Sep 6, 2014, at 12:39 PM, Leslie Rhorer <lrhorer at mygrande.net> wrote:
>
>> I made a number of hardware and software changes, including an upgrade to the latest software versions for that distro (Debian Wheezy),
>
> Can you be more specific about the changes?
Well, I did an automated upgrade (apt-get upgrade), I changed
2007 Oct 08
2
Applying function to data.frame
Hi,
If I have the following data.frame
>y
time val
1 08:00:05.834 1
2 08:03:13.345 2
3 08:10:12.443 3
>
and the following function which converts the time string to the number
of milliseconds since midnight
> str_to_millis
function( s )
{
a <- as.numeric( unlist( strsplit(s,":",fixed="TRUE") ) )
m <- a[1]*3600000 + a[2]*60000 + a[3]*1000
}
2001 Jan 02
5
Idea for gapless tracks
We all know that currently Vorbis is the only codec out there that
doesn't add any silence to the decoded file, so when you decode
your .ogg file the resulting .wav will be exactly the same length
as the original one. This is very useful when encoding gapless
songs (like live concerts...). But since Vorbis is a lossy codec,
even though there is no silence added, sometimes you can
still hear a
2001 Sep 30
1
System tray
i have installed Audiogalaxy Satellite, and it runs fine...but it is
minimized to my "system tray" witch i don't have. How do I maximize the
program?
Nicholas
2015 Mar 18
2
[LLVMdev] GSoC:Loop Reversal Transformation
Hi Matt, All,
Thanks for looking into this and your suggestions.
I compiled the program with -O3 optimization level (clang -O3) on X86_64
target.
After your suggestion, i ran the program with iteration of 10000 runs and
found that average runtimes are (attaching data collected as well)
Forward loop traverse : 2.006 milli seconds
Reverse loop traverse : 1.531 milli seconds
Yes, i agree that