зеркало из https://github.com/mono/mail-archives.git
124 строки
5.1 KiB
HTML
124 строки
5.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 490497] New: "watch for changes to web.config also in the subdirectories" causes problems
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20490497%5D%20New%3A%20%22watch%20for%20changes%20to%20web.config%20also%0A%20in%20the%20subdirectories%22%20causes%20problems&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="087467.html">
|
|
<LINK REL="Next" HREF="087482.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 490497] New: "watch for changes to web.config also in the subdirectories" causes problems</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20490497%5D%20New%3A%20%22watch%20for%20changes%20to%20web.config%20also%0A%20in%20the%20subdirectories%22%20causes%20problems&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 490497] New: "watch for changes to web.config also in the subdirectories" causes problems">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Mon Mar 30 20:08:59 EDT 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="087467.html">[Mono-bugs] [Bug 490461] relation "workview" does not exist
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087482.html">[Mono-bugs] [Bug 490497] "watch for changes to web.config also in the subdirectories" causes problems
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87447">[ date ]</a>
|
|
<a href="thread.html#87447">[ thread ]</a>
|
|
<a href="subject.html#87447">[ subject ]</a>
|
|
<a href="author.html#87447">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=490497">https://bugzilla.novell.com/show_bug.cgi?id=490497</A>
|
|
|
|
|
|
Summary: "watch for changes to web.config also in the
|
|
subdirectories" causes problems
|
|
Classification: Mono
|
|
Product: Mono: Class Libraries
|
|
Version: 2.4.x
|
|
Platform: Other
|
|
OS/Version: RHEL 5
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: Sys.Web
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mhabersack at novell.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">jit at occams.info</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
|
|
|
|
This change was made:
|
|
|
|
r122069 | mhabersack | 2008-12-23 21:15:59 -0500 (Tue, 23 Dec 2008) | 5 lines
|
|
|
|
2008-12-24 Marek Habersack <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mhabersack at novell.com</A>>
|
|
|
|
* HttpApplicationFactory.cs: watch for changes to web.config also
|
|
in the subdirectories.
|
|
|
|
--- HttpApplicationFactory.cs (revision 122068)
|
|
+++ HttpApplicationFactory.cs (revision 122069)
|
|
@@ -457,9 +457,9 @@
|
|
|
|
- WatchLocationForRestart("Web.config");
|
|
- WatchLocationForRestart("web.config");
|
|
- WatchLocationForRestart("Web.Config");
|
|
+ WatchLocationForRestart(String.Empty, "Web.config", true);
|
|
+ WatchLocationForRestart(String.Empty, "web.config", true);
|
|
+ WatchLocationForRestart(String.Empty, "Web.Config", true);
|
|
|
|
The result is that, at least with Inotify, it creates a watcher on every
|
|
subdirectory of the app path (three times?), and this involves scanning all of
|
|
the subdirectories. My app path has a LOT of data files in a deep directory
|
|
structure, and this causes the app initialization to take a very very long
|
|
time.
|
|
|
|
Putting these three lines back fixes the problem.
|
|
|
|
Perhaps this is a bug with the Inotify FileSystemWatcher?
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="087467.html">[Mono-bugs] [Bug 490461] relation "workview" does not exist
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087482.html">[Mono-bugs] [Bug 490497] "watch for changes to web.config also in the subdirectories" causes problems
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87447">[ date ]</a>
|
|
<a href="thread.html#87447">[ thread ]</a>
|
|
<a href="subject.html#87447">[ subject ]</a>
|
|
<a href="author.html#87447">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|