Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 907993 Details for
Bug 1078361
Implement dynamic token timeout and make it default
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
config: Allow dynamic change of token_coefficient
tmp.1djxKwwKeW (text/plain), 1.26 KB, created by
Jan Friesse
on 2014-06-12 07:40:07 UTC
(
hide
)
Description:
config: Allow dynamic change of token_coefficient
Filename:
MIME Type:
Creator:
Jan Friesse
Created:
2014-06-12 07:40:07 UTC
Size:
1.26 KB
patch
obsolete
>From 7557fdec487cb5fad7c449949ba58496bd396458 Mon Sep 17 00:00:00 2001 >From: Jan Friesse <jfriesse@redhat.com> >Date: Mon, 5 May 2014 11:18:01 +0200 >Subject: [PATCH] config: Allow dynamic change of token_coefficient > >token_coefficient change in cmap didn't triggered change. So only way >how to change token_coefficient was editing config file and reload. > >Patch let's key totem.token_coefficient to be processed so >token_coefficient can be dynamically changed. > >Signed-off-by: Jan Friesse <jfriesse@redhat.com> >Reviewed-by: Christine Caulfield <ccaulfie@redhat.com> >--- > exec/totemconfig.c | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/exec/totemconfig.c b/exec/totemconfig.c >index 4aa8cc5..a64a304 100644 >--- a/exec/totemconfig.c >+++ b/exec/totemconfig.c >@@ -1199,7 +1199,12 @@ static void totem_change_notify( > return; > > param = totem_get_param_by_name((struct totem_config *)user_data, key_name); >- if (!param) >+ /* >+ * Process change only if changed key is found in totem_config (-> param is not NULL) >+ * or for special key token_coefficient. token_coefficient key is not stored in >+ * totem_config, but it is used for computation of token timeout. >+ */ >+ if (!param && strcmp(key_name, "totem.token_coefficient") != 0) > return; > > /* >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1078361
:
907987
|
907988
|
907989
|
907990
|
907991
|
907992
| 907993 |
946428
|
946429
|
946430