Give user 48ms to read each character of a PAM message, earlier it was 16ms

User read time per character has been changed from 16ms to 48ms because the
message of information about last login is displayed for half a sec that is not
a good user experience. So time to read a character is increased to 48ms from 16ms.

https://bugzilla.gnome.org/show_bug.cgi?id=720885
This commit is contained in:
Sarvjeet 2015-03-20 15:42:37 +05:30 committed by Michael Catanzaro
parent e2a17fa8b4
commit 8897385714

View File

@ -35,8 +35,8 @@ const ALLOWED_FAILURES_KEY = 'allowed-failures';
const LOGO_KEY = 'logo'; const LOGO_KEY = 'logo';
const DISABLE_USER_LIST_KEY = 'disable-user-list'; const DISABLE_USER_LIST_KEY = 'disable-user-list';
// Give user 16ms to read each character of a PAM message // Give user 48ms to read each character of a PAM message
const USER_READ_TIME = 16 const USER_READ_TIME = 48
const MessageType = { const MessageType = {
NONE: 0, NONE: 0,